X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FFauxRequestTest.php;h=7b7f6b9d4361f0551db871403354d3534282324a;hb=9e8439e79d67788916d488f645108f79016d9aca;hp=c054caa06f7f1926084ce957b90f2a1ad92cf576;hpb=9f5c319b091fc84796c1e841699cc70c7566bef7;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/FauxRequestTest.php b/tests/phpunit/includes/FauxRequestTest.php index c054caa06f..7b7f6b9d43 100644 --- a/tests/phpunit/includes/FauxRequestTest.php +++ b/tests/phpunit/includes/FauxRequestTest.php @@ -50,7 +50,7 @@ class FauxRequestTest extends PHPUnit\Framework\TestCase { public function testGetText() { $req = new FauxRequest( [ 'x' => 'Value' ] ); $this->assertEquals( 'Value', $req->getText( 'x' ) ); - $this->assertEquals( '', $req->getText( 'z' ) ); + $this->assertSame( '', $req->getText( 'z' ) ); } /** @@ -287,8 +287,8 @@ class FauxRequestTest extends PHPUnit\Framework\TestCase { */ public function testDummies() { $req = new FauxRequest(); - $this->assertEquals( '', $req->getRawQueryString() ); - $this->assertEquals( '', $req->getRawPostString() ); - $this->assertEquals( '', $req->getRawInput() ); + $this->assertSame( '', $req->getRawQueryString() ); + $this->assertSame( '', $req->getRawPostString() ); + $this->assertSame( '', $req->getRawInput() ); } }