WordPress.org

Make WordPress Core

Opened 15 months ago

Closed 2 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:

Description

just a unit

Attachments (2)

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

Download all attachments as: .zip

Change History (9)

@pbearne
15 months ago

unit tests

#1 @pbearne
15 months 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
15 months ago

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

@pbearne
15 months ago

the correct patch

#3 @pbearne
15 months ago

opps fixed :-)

#4 @swissspidy
15 months ago

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

#5 @johnbillion
5 months ago

  • Milestone changed from 5.0 to 5.1
  • Version trunk deleted

#6 @pento
2 months ago

  • Keywords commit added; dev-feedback removed

#7 @desrosj
2 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.