Changeset 48937 for trunk/tests/phpunit/tests/theme/getAllowedFilters.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/getAllowedFilters.php
r46586 r48937 22 22 remove_filter( 'network_allowed_themes', array( $this, 'filter_network_allowed_themes' ) ); 23 23 24 $this->assert Equals( 2, count( $this->filter_network_allowed_themes_args ) );25 $this->assert Equals( $blog_id, $this->filter_network_allowed_themes_args[1] );24 $this->assertSame( 2, count( $this->filter_network_allowed_themes_args ) ); 25 $this->assertSame( $blog_id, $this->filter_network_allowed_themes_args[1] ); 26 26 } 27 27 … … 40 40 $expected = $this->default_allowed + array( 'allow-on-network' => true ); 41 41 42 $this->assert Equals( $expected, $allowed );42 $this->assertSame( $expected, $allowed ); 43 43 } 44 44 … … 57 57 $expected = $this->default_allowed + array( 'network-allowed-theme' => true ); 58 58 59 $this->assert Equals( $expected, $allowed );59 $this->assertSame( $expected, $allowed ); 60 60 } 61 61 … … 74 74 $expected = $this->default_allowed + array( 'site-allowed-theme' => true ); 75 75 76 $this->assert Equals( $expected, $allowed );76 $this->assertSame( $expected, $allowed ); 77 77 } 78 78
Note: See TracChangeset
for help on using the changeset viewer.