mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-30 17:44:18 +00:00
Update test for API change in PS10 of I17ef1f5197
Use $this->getMutableTestUser() instead of $this->getTestUser( true ). Change-Id: Idb41b4842d0c95801dcd5476fa2f3e45153f9c71
This commit is contained in:
parent
111f48f982
commit
9cb10b050e
|
@ -36,8 +36,8 @@ class ApiFlowThankTest extends ApiTestCase {
|
|||
|
||||
// mock topic and post
|
||||
if ( method_exists( $this, 'getTestUser' ) ) {
|
||||
$this->meUser = $this->getTestUser( true )->getUser();
|
||||
$this->otherUser = $this->getTestUser( true )->getUser();
|
||||
$this->meUser = $this->getMutableTestUser()->getUser();
|
||||
$this->otherUser = $this->getMutableTestUser()->getUser();
|
||||
} else {
|
||||
$this->meUser = self::$users[ 'sysop' ]->getUser();
|
||||
$this->otherUser = self::$users[ 'uploader' ]->getUser();
|
||||
|
|
Loading…
Reference in a new issue