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 "Resources: Remove very old comment about OOjs UI incompatibility"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiParseTest.php
diff --git
a/tests/phpunit/includes/api/ApiParseTest.php
b/tests/phpunit/includes/api/ApiParseTest.php
index
d038a4f
..
b72a4f8
100644
(file)
--- a/
tests/phpunit/includes/api/ApiParseTest.php
+++ b/
tests/phpunit/includes/api/ApiParseTest.php
@@
-18,9
+18,9
@@
class ApiParseTest extends ApiTestCase {
$somePage = mt_rand();
try {
$somePage = mt_rand();
try {
- $this->doApiRequest(
array(
+ $this->doApiRequest(
[
'action' => 'parse',
'action' => 'parse',
- 'page' => $somePage
)
);
+ 'page' => $somePage
]
);
$this->fail( "API did not return an error when parsing a nonexistent page" );
} catch ( UsageException $ex ) {
$this->fail( "API did not return an error when parsing a nonexistent page" );
} catch ( UsageException $ex ) {