Changeset 48937 for trunk/tests/phpunit/tests/hooks/doAction.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/doAction.php
r46586 r48937 28 28 $hook->do_action( array( $arg ) ); 29 29 30 $this->assert Equals( 1, $a->get_call_count() );30 $this->assertSame( 1, $a->get_call_count() ); 31 31 } 32 32 … … 44 44 $hook->do_action( array( $arg ) ); 45 45 46 $this->assert Equals( 2, $a->get_call_count() );46 $this->assertSame( 2, $a->get_call_count() ); 47 47 } 48 48 … … 62 62 $hook->do_action( array( $arg ) ); 63 63 64 $this->assert Equals( 1, $a->get_call_count() );65 $this->assert Equals( 1, $a->get_call_count() );64 $this->assertSame( 1, $a->get_call_count() ); 65 $this->assertSame( 1, $a->get_call_count() ); 66 66 } 67 67 … … 81 81 $hook->do_action( array( $arg ) ); 82 82 83 $this->assert Equals( 1, $a->get_call_count() );84 $this->assert Equals( 1, $a->get_call_count() );83 $this->assertSame( 1, $a->get_call_count() ); 84 $this->assertSame( 1, $a->get_call_count() ); 85 85 } 86 86
Note: See TracChangeset
for help on using the changeset viewer.