diff options
author | Joas Schilling <coding@schilljs.com> | 2017-04-20 12:48:51 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-20 12:48:51 +0200 |
commit | ada615eb867db01032fa6731c864408b1695ef29 (patch) | |
tree | 538c0bc337b92c1b458312bd77de5c36de200e15 /tests/lib/User | |
parent | 9871e4eaee92b9460a149d0394862473683ec4ed (diff) | |
download | nextcloud-server-ada615eb867db01032fa6731c864408b1695ef29.tar.gz nextcloud-server-ada615eb867db01032fa6731c864408b1695ef29.zip |
Use the correct Dummy and Backend class
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/User')
-rw-r--r-- | tests/lib/User/UserTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/User/UserTest.php b/tests/lib/User/UserTest.php index edb8ac4224e..5fc07b692f7 100644 --- a/tests/lib/User/UserTest.php +++ b/tests/lib/User/UserTest.php @@ -204,12 +204,12 @@ class UserTest extends TestCase { /** * @var Backend | \PHPUnit_Framework_MockObject_MockObject $backend */ - $backend = $this->createMock(Dummy::class); + $backend = $this->createMock(\Test\Util\User\Dummy::class); $backend->expects($this->at(0)) ->method('implementsActions') ->will($this->returnCallback(function ($actions) { - if ($actions === Backend::GET_HOME) { + if ($actions === \OC\User\Backend::GET_HOME) { return true; } else { return false; |