From ada615eb867db01032fa6731c864408b1695ef29 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 20 Apr 2017 12:48:51 +0200 Subject: [PATCH] Use the correct Dummy and Backend class Signed-off-by: Joas Schilling --- tests/lib/User/UserTest.php | 4 ++-- 1 file 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;