Changeset 59970 for trunk/tests/phpunit/tests/fonts/font-library/wpRestFontCollectionsController.php
- Timestamp:
- 03/11/2025 02:17:41 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/fonts/font-library/wpRestFontCollectionsController.php
r59899 r59970 109 109 } 110 110 111 $this->assert Null($content, 'The response should be empty.' );111 $this->assertSame( array(), $content, 'The response should be empty.' ); 112 112 $headers = $response->get_headers(); 113 113 $this->assertArrayHasKey( 'X-WP-Total', $headers, 'The "X-WP-Total" header should be present in the response.' ); … … 173 173 return null; 174 174 } 175 $this->assert Null($response->get_data(), 'The server should not generate a body in response to a HEAD request.' );175 $this->assertSame( array(), $response->get_data(), 'The server should not generate a body in response to a HEAD request.' ); 176 176 } 177 177
Note: See TracChangeset
for help on using the changeset viewer.