Changeset 63934 for trunk/tests/phpunit/tests/http/base.php
- Timestamp:
- 09/25/2026 03:00:14 PM (7 weeks ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/http/base.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/base.php
r59729 r63934 270 270 $this->assertNotWPError( $res ); 271 271 $this->assertSame( '', $res['body'] ); // The body should be empty. 272 $this->assert Equals($size, $res['headers']['Content-Length'] ); // Check the headers are returned (and the size is the same).272 $this->assertSame( (string) $size, $res['headers']['Content-Length'] ); // Check the headers are returned (and the size is the same). 273 273 $this->assertSame( $size, $filesize ); // Check that the file is written to disk correctly without any extra characters. 274 274 $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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)