Changeset 48937 for trunk/tests/phpunit/tests/hooks/applyFilters.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/applyFilters.php
r46586 r48937 21 21 $returned = $hook->apply_filters( $arg, array( $arg ) ); 22 22 23 $this->assert Equals( $returned, $arg );24 $this->assert Equals( 1, $a->get_call_count() );23 $this->assertSame( $returned, $arg ); 24 $this->assertSame( 1, $a->get_call_count() ); 25 25 } 26 26 … … 39 39 $returned_two = $hook->apply_filters( $returned_one, array( $returned_one ) ); 40 40 41 $this->assert Equals( $returned_two, $arg );42 $this->assert Equals( 2, $a->get_call_count() );41 $this->assertSame( $returned_two, $arg ); 42 $this->assertSame( 2, $a->get_call_count() ); 43 43 } 44 44
Note: See TracChangeset
for help on using the changeset viewer.