diff options
Diffstat (limited to 'tests/lib/avatar.php')
-rw-r--r-- | tests/lib/avatar.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lib/avatar.php b/tests/lib/avatar.php index 421be155d17..e852a7fc6ff 100644 --- a/tests/lib/avatar.php +++ b/tests/lib/avatar.php @@ -6,6 +6,9 @@ * later. * See the COPYING-README file. */ + +use OC\Avatar; + class Test_Avatar extends \Test\TestCase { private $user; @@ -20,7 +23,7 @@ class Test_Avatar extends \Test\TestCase { public function testAvatar() { - $avatar = new \OC_Avatar($this->user); + $avatar = new Avatar($this->user); $this->assertEquals(false, $avatar->get()); |