Changeset 39919 for trunk/tests/phpunit/tests/customize/setting.php
- Timestamp:
- 01/17/2017 03:39:36 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/customize/setting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/setting.php
r39318 r39919 457 457 // Satisfy all requirements for save to happen. 458 458 wp_set_current_user( self::factory()->user->create( array( 'role' => 'administrator' ) ) ); 459 $this->assert True( false !==$setting->save() );459 $this->assertNotFalse( $setting->save() ); 460 460 $this->assertTrue( 1 === did_action( 'customize_update_custom' ) ); 461 461 $this->assertTrue( 1 === did_action( 'customize_save_foo' ) );
Note: See TracChangeset
for help on using the changeset viewer.