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 "Don't check namespace in SpecialWantedtemplates"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiRevisionDeleteTest.php
diff --git
a/tests/phpunit/includes/api/ApiRevisionDeleteTest.php
b/tests/phpunit/includes/api/ApiRevisionDeleteTest.php
index
b03836e
..
362d647
100644
(file)
--- a/
tests/phpunit/includes/api/ApiRevisionDeleteTest.php
+++ b/
tests/phpunit/includes/api/ApiRevisionDeleteTest.php
@@
-25,7
+25,7
@@
class ApiRevisionDeleteTest extends ApiTestCase {
}
public function testHidingRevisions() {
}
public function testHidingRevisions() {
- $user = self::$users['sysop']->
user
;
+ $user = self::$users['sysop']->
getUser()
;
$revid = array_shift( $this->revs );
$out = $this->doApiRequest( array(
'action' => 'revisiondelete',
$revid = array_shift( $this->revs );
$out = $this->doApiRequest( array(
'action' => 'revisiondelete',
@@
-80,7
+80,7
@@
class ApiRevisionDeleteTest extends ApiTestCase {
}
public function testUnhidingOutput() {
}
public function testUnhidingOutput() {
- $user = self::$users['sysop']->
user
;
+ $user = self::$users['sysop']->
getUser()
;
$revid = array_shift( $this->revs );
// Hide revisions
$this->doApiRequest( array(
$revid = array_shift( $this->revs );
// Hide revisions
$this->doApiRequest( array(