dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Optionally collect context in TestLogger"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
structure
/
ApiDocumentationTest.php
diff --git
a/tests/phpunit/structure/ApiDocumentationTest.php
b/tests/phpunit/structure/ApiDocumentationTest.php
index
2049e38
..
bc5a6bd
100644
(file)
--- a/
tests/phpunit/structure/ApiDocumentationTest.php
+++ b/
tests/phpunit/structure/ApiDocumentationTest.php
@@
-137,6
+137,8
@@
class ApiDocumentationTest extends MediaWikiTestCase {
// Messages for examples.
foreach ( $module->getExamplesMessages() as $qs => $msg ) {
+ $this->assertStringStartsNotWith( 'api.php?', $qs,
+ "Query string must not begin with 'api.php?'" );
$this->checkMessage( $msg, "Example $qs" );
}
}