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 "Remove duplicate names from CREDITS"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiQueryWatchlistRawIntegrationTest.php
diff --git
a/tests/phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php
b/tests/phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php
index
d6f315d
..
0f01664
100644
(file)
--- a/
tests/phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php
+++ b/
tests/phpunit/includes/api/ApiQueryWatchlistRawIntegrationTest.php
@@
-503,7
+503,7
@@
class ApiQueryWatchlistRawIntegrationTest extends ApiTestCase {
$otherUser->setOption( 'watchlisttoken', '1234567890' );
$otherUser->saveSettings();
$otherUser->setOption( 'watchlisttoken', '1234567890' );
$otherUser->saveSettings();
- $this->setExpectedException( UsageException::class, 'Incorrect watchlist token provided' );
+ $this->setExpectedException(
Api
UsageException::class, 'Incorrect watchlist token provided' );
$this->doListWatchlistRawRequest( [
'wrowner' => $otherUser->getName(),
$this->doListWatchlistRawRequest( [
'wrowner' => $otherUser->getName(),
@@
-512,7
+512,7
@@
class ApiQueryWatchlistRawIntegrationTest extends ApiTestCase {
}
public function testOwnerAndTokenParams_userHasNoWatchlistToken() {
}
public function testOwnerAndTokenParams_userHasNoWatchlistToken() {
- $this->setExpectedException( UsageException::class, 'Incorrect watchlist token provided' );
+ $this->setExpectedException(
Api
UsageException::class, 'Incorrect watchlist token provided' );
$this->doListWatchlistRawRequest( [
'wrowner' => $this->getNotLoggedInTestUser()->getName(),
$this->doListWatchlistRawRequest( [
'wrowner' => $this->getNotLoggedInTestUser()->getName(),