diff options
Diffstat (limited to 'tests/phpunit/includes')
-rw-r--r-- | tests/phpunit/includes/Rest/RequestFromGlobalsTest.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/phpunit/includes/Rest/RequestFromGlobalsTest.php b/tests/phpunit/includes/Rest/RequestFromGlobalsTest.php index 5e094fef3457..117831dbec95 100644 --- a/tests/phpunit/includes/Rest/RequestFromGlobalsTest.php +++ b/tests/phpunit/includes/Rest/RequestFromGlobalsTest.php @@ -122,9 +122,7 @@ class RequestFromGlobalsTest extends MediaWikiIntegrationTestCase { 'HTTP_ACCEPT' => 'text/html' ] ); - // FIXME assertSame fails here - // phpcs:ignore MediaWiki.PHPUnit.AssertEquals - $this->assertEquals( '', $this->reqFromGlobals->getBody() ); + $this->assertSame( '', $this->reqFromGlobals->getBody()->getContents() ); } public function testGetServerParams() { |