diff --git tests/phpunit/tests/functions.php tests/phpunit/tests/functions.php
index 3b0e279..7140ef9 100644
|
|
class Tests_Functions extends WP_UnitTestCase { |
158 | 158 | } |
159 | 159 | |
160 | 160 | /** |
| 161 | * @ticket 9930 |
| 162 | */ |
| 163 | public function test_is_serialized_should_return_true_for_scientific_notation() { |
| 164 | $data = serialize( 2.1E+200 ); |
| 165 | $this->assertTrue( is_serialized( $data ) ); |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * @ticket 9930 |
| 170 | */ |
| 171 | public function test_is_serialized_should_return_false_for_incorrectly_encoded_boolean() { |
| 172 | $data = 'b:4;'; |
| 173 | $this->assertFalse( is_serialized( $data ) ); |
| 174 | } |
| 175 | |
| 176 | /** |
161 | 177 | * @group add_query_arg |
162 | 178 | */ |
163 | 179 | function test_add_query_arg() { |