Changeset 48937 for trunk/tests/phpunit/tests/hooks/hasFilter.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/hasFilter.php
r46586 r48937 17 17 $hook->add_filter( $tag, $callback, $priority, $accepted_args ); 18 18 19 $this->assert Equals( $priority, $hook->has_filter( $tag, $callback ) );19 $this->assertSame( $priority, $hook->has_filter( $tag, $callback ) ); 20 20 } 21 21 … … 30 30 $hook->add_filter( $tag, $callback, $priority, $accepted_args ); 31 31 32 $this->assert Equals( $priority, $hook->has_filter( $tag, $callback ) );32 $this->assertSame( $priority, $hook->has_filter( $tag, $callback ) ); 33 33 } 34 34 … … 42 42 $hook->add_filter( $tag, $callback, $priority, $accepted_args ); 43 43 44 $this->assert Equals( $priority, $hook->has_filter( $tag, $callback ) );44 $this->assertSame( $priority, $hook->has_filter( $tag, $callback ) ); 45 45 } 46 46
Note: See TracChangeset
for help on using the changeset viewer.