X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiQueryWatchlistIntegrationTest.php;h=26fedba1b35a7e9b8066fbe4efe69d330596094f;hb=9e8439e79d67788916d488f645108f79016d9aca;hp=2b08a81c2e8c99f8569380a5226f2c205481a850;hpb=27a6845c2a675990b04dfead674c0d46d140aa17;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php b/tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php index 2b08a81c2e..26fedba1b3 100644 --- a/tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php +++ b/tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php @@ -1575,7 +1575,7 @@ class ApiQueryWatchlistIntegrationTest extends ApiTestCase { $pages = array_values( $result[0]['query']['pages'] ); $this->assertCount( 1, $pages ); - $this->assertEquals( 0, $pages[0]['ns'] ); + $this->assertSame( 0, $pages[0]['ns'] ); $this->assertEquals( $this->getPrefixedText( $target ), $pages[0]['title'] ); $this->assertArraySubsetsEqual( $pages[0]['revisions'],