Make WordPress Core

Opened 6 years ago

Last modified 20 months ago

#51770 reviewing enhancement

Add unit tests for WP_Http_Cookie

Reported by: andizer Owned by: SergeyBiryukov
Priority: normal Milestone: Future Release
Component: HTTP API Version: 5.2
Severity: normal Keywords: has-patch has-unit-tests
Cc: Focuses: tests

Description

The class wasn't covered yet. We added these during contributor day at Yoast.

Worked on this together with:
​https://profiles.wordpress.org/andizer
​https://profiles.wordpress.org/herregroen
​https://profiles.wordpress.org/lopo

Attachments (1)

acf2d6ebfe0accfbe74bed562c53b4ea3b3dbbb2.patch​ (14.0 KB ) - added by andizer 6 years ago.
Added unittests for WP_Http_Cookie

Download all attachments as: .zip

Change History (8)

@andizer
6 years ago

Added unittests for WP_Http_Cookie

#1 @hellofromTonya
6 years ago

  • Version trunk → 5.2

Moving off trunk to match the last @since in the class.

#2 @SergeyBiryukov
6 years ago

  • Milestone Awaiting Review → 5.7
  • Owner set to SergeyBiryukov
  • Status new → reviewing

#3 @hellofromTonya
6 years ago

  • Milestone 5.7 → 5.8

5.7 Beta 1 is happening in about 25 minutes. Ran out of time to get this ticket into the release. Punting to 5.8.

If any maintainer or committer feels this can be resolved in time, or wishes to assume ownership during a specific cycle, feel free to update the milestone accordingly.

This ticket was mentioned in ​Slack in #core by hellofromtonya. ​View the logs.


6 years ago

This ticket was mentioned in ​Slack in #core by chaion07. ​View the logs.


5 years ago

#6 @desrosj
5 years ago

  • Milestone 5.8 → Future Release

Thanks for taking the time to write these, @andizer! Apologies that it did not get reviewed in 5.8 either.

I'm going to punt this as today is the cut off for enhancement and feature request tickets. However, test improvements can be made up until the RC phase of the release cycle.

If a committer is able to review this before then, feel free to move back to 5.8 and give it the attention it deserves. For now, I'll punt this to Future Release to prevent repeated punting.

#7 @desrosj
20 months ago

  • Focuses tests added
Note: See TracTickets for help on using tickets.