From 05336f904ff351d9be91ed2a083185c4482f2d48 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Sat, 22 Nov 2014 20:34:15 +0000 Subject: [PATCH] Remove failing assertions from `is_serialized()` tests. They have been moved to new test methods, which have been attached as a patch to the ticket #9930. See #30284. git-svn-id: https://develop.svn.wordpress.org/trunk@30520 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/functions.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/phpunit/tests/functions.php b/tests/phpunit/tests/functions.php index c52623e306..3b0e279de4 100644 --- a/tests/phpunit/tests/functions.php +++ b/tests/phpunit/tests/functions.php @@ -131,9 +131,6 @@ class Tests_Functions extends WP_UnitTestCase { $this->assertEquals( 'abcdefg.png', wp_unique_filename( $testdir, 'abcde\\\fg.png' ), 'Tripple slashed not removed' ); } - /** - * @ticket 9930 - */ function test_is_serialized() { $cases = array( serialize(null), @@ -142,7 +139,6 @@ class Tests_Functions extends WP_UnitTestCase { serialize(-25), serialize(25), serialize(1.1), - serialize(2.1E+200), serialize('this string will be serialized'), serialize("a\nb"), serialize(array()), @@ -155,7 +151,6 @@ class Tests_Functions extends WP_UnitTestCase { $not_serialized = array( 'a string', 'garbage:a:0:garbage;', - 'b:4;', 's:4:test;' ); foreach ( $not_serialized as $case )