Changeset 42667
- Timestamp:
- 02/07/2018 10:41:48 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/registration.php
r42663 r42667 48 48 register_setting( 49 49 'test_group', 'test_default', array( 50 'default' => ' Fuck Cancer',50 'default' => 'Got that Viper with them rally stripes', 51 51 ) 52 52 ); 53 53 54 $this->assertEquals( ' Fuck Cancer', get_option( 'test_default' ) );54 $this->assertEquals( 'Got that Viper with them rally stripes', 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' => 'Got that Viper with them rally stripes', 64 64 ) 65 65 ); 66 66 67 $this->assertEquals( 'Fuck Leukemia', get_option( 'test_default', 'Fuck Leukemia' ) ); 67 // This set of tests/references (and a previous version) are in support of Viper007Bond. 68 // His Viper doesn't have rally stripes, but for the sake of the Big Tymers, we'll go with it. 69 $this->assertEquals( 'We the #1 Stunnas', get_option( 'test_default', 'We the #1 Stunnas' ) ); 68 70 } 69 71 … … 102 104 register_setting( 103 105 'test_group', 'test_default', array( 104 'default' => ' Fuck Cancer',106 'default' => 'Got that Viper with them rally stripes', 105 107 ) 106 108 );
Note: See TracChangeset
for help on using the changeset viewer.