Changeset 48937 for trunk/tests/phpunit/tests/ajax/Compression.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/Compression.php
r47198 r48937 145 145 146 146 // Check the site option is not changed due to lack of nonce. 147 $this->assert Equals( 0, get_site_option( 'can_compress_scripts' ) );147 $this->assertSame( 0, get_site_option( 'can_compress_scripts' ) ); 148 148 149 149 // Add a nonce. … … 158 158 159 159 // Check the site option is changed. 160 $this->assert Equals( 1, get_site_option( 'can_compress_scripts' ) );160 $this->assertSame( 1, get_site_option( 'can_compress_scripts' ) ); 161 161 } 162 162 … … 183 183 184 184 // Check the site option is not changed due to lack of nonce. 185 $this->assert Equals( 1, get_site_option( 'can_compress_scripts' ) );185 $this->assertSame( 1, get_site_option( 'can_compress_scripts' ) ); 186 186 187 187 // Add a nonce. … … 196 196 197 197 // Check the site option is changed. 198 $this->assert Equals( 0, get_site_option( 'can_compress_scripts' ) );198 $this->assertSame( 0, get_site_option( 'can_compress_scripts' ) ); 199 199 } 200 200
Note: See TracChangeset
for help on using the changeset viewer.