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:
Ori Livneh 2016-05-23 20:15:12 -07:00
parent 111f48f982
commit 9cb10b050e

View file

@ -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();