Make WordPress Core

Opened 9 years ago

Closed 8 years ago

#42870 closed enhancement (fixed)

unit test for is_serialized_string()

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

Description

just a unit

Attachments (2)

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

Download all attachments as: .zip

Change History (9)

@pbearne
9 years ago

unit tests

#1 @pbearne
9 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
9 years ago

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

@pbearne
9 years ago

the correct patch

#3 @pbearne
9 years ago

opps fixed :-)

#4 @swissspidy
9 years ago

  • Milestone Awaiting Review → 5.0
  • Type defect (bug) → enhancement

#5 @johnbillion
8 years ago

  • Milestone 5.0 → 5.1
  • Version trunk

#6 @pento
8 years ago

  • Keywords commit added; dev-feedback removed

#7 @desrosj
8 years ago

  • Owner set to desrosj
  • Resolution → fixed
  • Status new → 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.