summaryrefslogtreecommitdiffstats
path: root/tests/lib/avatarmanagertest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/avatarmanagertest.php')
-rw-r--r--tests/lib/avatarmanagertest.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/lib/avatarmanagertest.php b/tests/lib/avatarmanagertest.php
index f5cdd99176d..2dd6ff34923 100644
--- a/tests/lib/avatarmanagertest.php
+++ b/tests/lib/avatarmanagertest.php
@@ -18,6 +18,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
+
+namespace Test;
+
use OC\AvatarManager;
use Test\Traits\UserTrait;
use Test\Traits\MountProviderTrait;
@@ -48,7 +51,7 @@ class AvatarManagerTest extends \Test\TestCase {
}
/**
- * @expectedException Exception
+ * @expectedException \Exception
* @expectedExceptionMessage user does not exist
*/
public function testGetAvatarInvalidUser() {