Changeset 29196 for trunk/tests/phpunit/tests/term.php
- Timestamp:
- 07/16/2014 09:51:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term.php
r28953 r29196 691 691 $this->assertEquals( 'This description is even more amazing!', $terms[0]->description ); 692 692 } 693 694 /** 695 * @ticket 19205 696 */ 697 function test_orphan_category() { 698 $cat_id1 = $this->factory->category->create(); 699 700 wp_delete_category( $cat_id1 ); 701 702 $cat_id2 = $this->factory->category->create( array( 'parent' => $cat_id1 ) ); 703 $this->assertWPError( $cat_id2 ); 704 } 693 705 }
Note: See TracChangeset
for help on using the changeset viewer.