Changeset 55210 for trunk/tests/phpunit/tests/http/base.php
- Timestamp:
- 02/03/2023 01:33:18 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/base.php
r54968 r55210 284 284 $this->assertNotWPError( $res ); 285 285 $this->assertSame( '', $res['body'] ); // The body should be empty. 286 $this->assertEquals( $size, $res['headers'][' content-length'] ); // Check the headers are returned (and the size is the same).286 $this->assertEquals( $size, $res['headers']['Content-Length'] ); // Check the headers are returned (and the size is the same). 287 287 $this->assertSame( $size, $filesize ); // Check that the file is written to disk correctly without any extra characters. 288 288 $this->assertStringStartsWith( get_temp_dir(), $res['filename'] ); // Check it's saving within the temp directory.
Note: See TracChangeset
for help on using the changeset viewer.