Changeset 47122 for trunk/tests/phpunit/tests/customize/setting.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 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
r46586 r47122 387 387 $this->assertEquals( 1, did_action( "customize_preview_{$setting->id}" ) ); 388 388 $this->assertEquals( 1, did_action( "customize_preview_{$setting->type}" ) ); 389 $this->assertEquals( $this->undefined, $this->custom_type_getter( $name, $this->undefined ) ); // Note: for a non-custom type this is $default 389 $this->assertEquals( $this->undefined, $this->custom_type_getter( $name, $this->undefined ) ); // Note: for a non-custom type this is $default. 390 390 $this->assertEquals( $default, $setting->value() ); // Should be same as above. 391 391
Note: See TracChangeset
for help on using the changeset viewer.