Changeset 48937 for trunk/tests/phpunit/tests/includes/factory.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/includes/factory.php
r46586 r48937 20 20 $id = $this->category_factory->create( array( 'name' => 'Boo' ) ); 21 21 $object = $this->category_factory->get_object_by_id( $id ); 22 $this->assert Equals( 'Boo', $object->name );22 $this->assertSame( 'Boo', $object->name ); 23 23 } 24 24 … … 27 27 $id = $term_factory->create( array( 'taxonomy' => 'post_tag' ) ); 28 28 $term = get_term( $id, 'post_tag' ); 29 $this->assert Equals( $id, $term->term_id );29 $this->assertSame( $id, $term->term_id ); 30 30 } 31 31
Note: See TracChangeset
for help on using the changeset viewer.