Changeset 42659
- Timestamp:
- 02/07/2018 06:51:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/registration.php
r42655 r42659 48 48 register_setting( 49 49 'test_group', 'test_default', array( 50 'default' => ' Fuck Cancer',50 'default' => 'Eat your greens', 51 51 ) 52 52 ); 53 53 54 $this->assertEquals( ' Fuck Cancer', get_option( 'test_default' ) );54 $this->assertEquals( 'Eat your greens', get_option( 'test_default' ) ); 55 55 } 56 56 … … 61 61 register_setting( 62 62 'test_group', 'test_default', array( 63 'default' => ' Fuck Cancer',63 'default' => 'Eat your greens', 64 64 ) 65 65 ); 66 66 67 $this->assertEquals( ' Fuck Leukemia', get_option( 'test_default', 'Fuck Leukemia' ) );67 $this->assertEquals( 'Ice cream is better', get_option( 'test_default', 'Ice cream is better' ) ); 68 68 } 69 69 … … 102 102 register_setting( 103 103 'test_group', 'test_default', array( 104 'default' => ' Fuck Cancer',104 'default' => 'Eat your greens', 105 105 ) 106 106 );
Note: See TracChangeset
for help on using the changeset viewer.