diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-11-10 22:59:50 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-11-19 14:53:51 +0100 |
commit | cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f (patch) | |
tree | 2a3ec09e86f13885483286ba5f5213201eb4ee67 /tests/lib/avatar.php | |
parent | 76ebd3a050cb3c84b958f071ec559e6bc9cbc847 (diff) | |
download | nextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.tar.gz nextcloud-server-cb3a598cdb238f9ce74dce80ef9e59cdfc531a4f.zip |
Make root tests extend the \Test\TestCase
Diffstat (limited to 'tests/lib/avatar.php')
-rw-r--r-- | tests/lib/avatar.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/lib/avatar.php b/tests/lib/avatar.php index 0334639afa8..421be155d17 100644 --- a/tests/lib/avatar.php +++ b/tests/lib/avatar.php @@ -6,12 +6,14 @@ * later. * See the COPYING-README file. */ -class Test_Avatar extends PHPUnit_Framework_TestCase { +class Test_Avatar extends \Test\TestCase { private $user; - public function setUp() { - $this->user = uniqid(); + protected function setUp() { + parent::setUp(); + + $this->user = $this->getUniqueID(); $storage = new \OC\Files\Storage\Temporary(array()); \OC\Files\Filesystem::mount($storage, array(), '/' . $this->user . '/'); } |