Changeset 51462 for trunk/tests/phpunit/tests/ajax/Compression.php
- Timestamp:
- 07/19/2021 02:00:11 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/Compression.php
r49025 r51462 50 50 51 51 // Ensure we found the right match. 52 $this->assert Contains( 'wpCompressionTest', $this->_last_response );52 $this->assertStringContainsString( 'wpCompressionTest', $this->_last_response ); 53 53 } 54 54 … … 75 75 76 76 // Ensure we found the right match. 77 $this->assert Contains( 'wpCompressionTest', gzinflate( $this->_last_response ) );77 $this->assertStringContainsString( 'wpCompressionTest', gzinflate( $this->_last_response ) ); 78 78 } 79 79 … … 100 100 101 101 // Ensure we found the right match. 102 $this->assert Contains( 'wpCompressionTest', $this->_gzdecode( $this->_last_response ) );102 $this->assertStringContainsString( 'wpCompressionTest', $this->_gzdecode( $this->_last_response ) ); 103 103 } 104 104
Note: See TracChangeset
for help on using the changeset viewer.