Changeset 58211 for trunk/tests/phpunit/tests/post/types.php
- Timestamp:
- 05/27/2024 03:22:05 PM (20 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post/types.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/types.php
r58201 r58211 599 599 */ 600 600 public function test_post_type_supports_autosave_based_on_editor_support() { 601 $this->assertFalse( post_type_supports( 'attachment', 'autosave' ) ); 602 601 603 register_post_type( 'foo', array( 'supports' => array( 'editor' ) ) ); 602 604 $this->assertTrue( post_type_supports( 'foo', 'autosave' ) );
Note: See TracChangeset
for help on using the changeset viewer.