Changeset 34646 for trunk/tests/phpunit/tests/term.php
- Timestamp:
- 09/27/2015 10:26:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term.php
r34627 r34646 412 412 $t = wp_insert_category( array( 'cat_name' => $term ) ); 413 413 $this->assertTrue( is_numeric($t) ); 414 $this->assert False( is_wp_error($t));414 $this->assertNotWPError( $t ); 415 415 $this->assertTrue( $t > 0 ); 416 416 $this->assertEquals( $initial_count + 1, wp_count_terms( 'category' ) );
Note: See TracChangeset
for help on using the changeset viewer.