diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-10 23:30:38 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-19 14:53:59 +0100 |
commit | 6202ca33ba76a38b4aea8774018d661f919fa464 (patch) | |
tree | a108c8631dad790bc8c3fc175c9c330d18c54ad2 /tests/lib/user | |
parent | cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (diff) | |
download | nextcloud-server-6202ca33ba76a38b4aea8774018d661f919fa464.tar.gz nextcloud-server-6202ca33ba76a38b4aea8774018d661f919fa464.zip |
Make remaining files extend the test base
Diffstat (limited to 'tests/lib/user')
-rw-r--r-- | tests/lib/user/manager.php | 2 | ||||
-rw-r--r-- | tests/lib/user/session.php | 2 | ||||
-rw-r--r-- | tests/lib/user/user.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/user/manager.php b/tests/lib/user/manager.php index 15b28e61bd5..c825ec05775 100644 --- a/tests/lib/user/manager.php +++ b/tests/lib/user/manager.php @@ -9,7 +9,7 @@ namespace Test\User; -class Manager extends \PHPUnit_Framework_TestCase { +class Manager extends \Test\TestCase { public function testUserExistsSingleBackendExists() { /** * @var \OC_User_Dummy | \PHPUnit_Framework_MockObject_MockObject $backend diff --git a/tests/lib/user/session.php b/tests/lib/user/session.php index 5126049d77f..8d9d024197c 100644 --- a/tests/lib/user/session.php +++ b/tests/lib/user/session.php @@ -12,7 +12,7 @@ namespace Test\User; use OC\Session\Memory; use OC\User\User; -class Session extends \PHPUnit_Framework_TestCase { +class Session extends \Test\TestCase { public function testGetUser() { $session = $this->getMock('\OC\Session\Memory', array(), array('')); $session->expects($this->once()) diff --git a/tests/lib/user/user.php b/tests/lib/user/user.php index 7a1db861c98..6aa7243a75a 100644 --- a/tests/lib/user/user.php +++ b/tests/lib/user/user.php @@ -12,7 +12,7 @@ namespace Test\User; use OC\AllConfig; use OC\Hooks\PublicEmitter; -class User extends \PHPUnit_Framework_TestCase { +class User extends \Test\TestCase { public function testDisplayName() { /** * @var \OC_User_Backend | \PHPUnit_Framework_MockObject_MockObject $backend |