Make WordPress Core

Opened 3 years ago

Closed 18 months ago

#42870 closed enhancement (fixed)

unit test for is_serialized_string()

Reported by: pbearne Owned by: desrosj
Milestone: 5.1 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch has-unit-tests commit
Focuses: Cc:


just a unit

Attachments (2)

403293.patch (786 bytes) - added by pbearne 3 years ago.
unit tests
42870.patch (2.7 KB) - added by pbearne 3 years ago.
the correct patch

Download all attachments as: .zip

Change History (9)

3 years ago

unit tests

#1 @pbearne
3 years ago

  • Keywords has-patch dev-feedback has-unit-tests added

Add new test cases and moved to its own file from general functions file

#2 @swissspidy
3 years ago

@pbearne Looks like you uploaded the wrong patch by accident.

3 years ago

the correct patch

#3 @pbearne
3 years ago

opps fixed :-)

#4 @swissspidy
3 years ago

  • Milestone changed from Awaiting Review to 5.0
  • Type changed from defect (bug) to enhancement

#5 @johnbillion
21 months ago

  • Milestone changed from 5.0 to 5.1
  • Version trunk deleted

#6 @pento
18 months ago

  • Keywords commit added; dev-feedback removed

#7 @desrosj
18 months ago

  • Owner set to desrosj
  • Resolution set to fixed
  • Status changed from new to closed

In 44478:

Tests: Add missing test cases for is_serialized_string().

Also, reorganize these tests into their own class.

Props pbearne.
Fixes #42870.

Note: See TracTickets for help on using tickets.