aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/query/ApiQueryTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/api/query/ApiQueryTest.php')
-rw-r--r--tests/phpunit/includes/api/query/ApiQueryTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/api/query/ApiQueryTest.php b/tests/phpunit/includes/api/query/ApiQueryTest.php
index 132f0db30460..7367fccdcf6c 100644
--- a/tests/phpunit/includes/api/query/ApiQueryTest.php
+++ b/tests/phpunit/includes/api/query/ApiQueryTest.php
@@ -170,6 +170,6 @@ class ApiQueryTest extends ApiTestCase {
$this->assertArrayHasKey( 'query', $data[0] );
$this->assertArrayHasKey( 'export', $data[0]['query'] );
// This response field contains an XML document even if no pages were exported
- $this->assertNotContains( $title->getPrefixedText(), $data[0]['query']['export'] );
+ $this->assertStringNotContainsString( $title->getPrefixedText(), $data[0]['query']['export'] );
}
}