diff options
author | Joas Schilling <coding@schilljs.com> | 2017-08-29 11:06:37 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-08-29 11:10:30 +0200 |
commit | 0aff1c9268e760c2e1164f85ea8414ad0d1fa91c (patch) | |
tree | 958dd8e32bd925f0cf0b49e1bedb43d864f3d832 /tests | |
parent | 5adc1efe9fef473bb81414682386d1b0563ff859 (diff) | |
download | nextcloud-server-0aff1c9268e760c2e1164f85ea8414ad0d1fa91c.tar.gz nextcloud-server-0aff1c9268e760c2e1164f85ea8414ad0d1fa91c.zip |
Return the user id in case of an error
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Core/Controller/AvatarControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Core/Controller/AvatarControllerTest.php b/tests/Core/Controller/AvatarControllerTest.php index b87f73366fa..1a1f1130480 100644 --- a/tests/Core/Controller/AvatarControllerTest.php +++ b/tests/Core/Controller/AvatarControllerTest.php @@ -169,7 +169,7 @@ class AvatarControllerTest extends \Test\TestCase { //Comment out until JS is fixed //$this->assertEquals(Http::STATUS_NOT_FOUND, $response->getStatus()); $this->assertEquals(Http::STATUS_OK, $response->getStatus()); - $this->assertEquals('', $response->getData()['data']['displayname']); + $this->assertEquals('userDoesNotExist', $response->getData()['data']['displayname']); } /** |