Changeset 36247
- Timestamp:
- 01/09/2016 11:34:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/taxonomy.php
r36243 r36247 633 633 $this->assertSame( array(), $wp_filter['wp_ajax_add-foo'] ); 634 634 } 635 636 /** 637 * @ticket 35227 638 */ 639 public function test_taxonomy_does_not_exist_after_unregister_taxonomy() { 640 register_taxonomy( 'foo', 'post' ); 641 $this->assertTrue( taxonomy_exists( 'foo' ) ); 642 unregister_taxonomy( 'foo' ); 643 $this->assertFalse( taxonomy_exists( 'foo' ) ); 644 } 645 635 646 }
Note: See TracChangeset
for help on using the changeset viewer.