Changeset 48937 for trunk/tests/phpunit/tests/term/wpDeleteTerm.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/term/wpDeleteTerm.php
r46586 r48937 29 29 30 30 wp_delete_term( $terms[0], 'wptests_tax' ); 31 $this->assert Equals( 1, $this->deleted_term->count );31 $this->assertSame( 1, $this->deleted_term->count ); 32 32 $this->assertSame( $this->object_ids, array( "$post_id" ) ); 33 33 34 34 wp_delete_term( $terms[1], 'wptests_tax' ); 35 $this->assert Equals( 0, $this->deleted_term->count );35 $this->assertSame( 0, $this->deleted_term->count ); 36 36 $this->assertSame( $this->object_ids, array() ); 37 37 }
Note: See TracChangeset
for help on using the changeset viewer.