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