diff options
author | Marcel Waldvogel <marcel.waldvogel@uni-konstanz.de> | 2017-08-17 15:40:55 +0300 |
---|---|---|
committer | Klaus <klaus@jsxc.org> | 2017-08-17 15:40:55 +0300 |
commit | c8a22ffdf987ac9c8d3833475ae4f95a8bff4e0b (patch) | |
tree | 72eb7b6d22fc957479300e96dae5206be8502240 /tests/unit | |
parent | 01f3e627d3e6445dbfafa8c73149a44057dc8c62 (diff) |
Allow plain usernames without domain for sharedRoster (#54)
* Allow plain usernames without domain
* Update ExternalApiController.php
* Update ExternalApiControllerTest.php
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/controller/ExternalApiControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/controller/ExternalApiControllerTest.php b/tests/unit/controller/ExternalApiControllerTest.php index eaa17a7..d4f3d44 100644 --- a/tests/unit/controller/ExternalApiControllerTest.php +++ b/tests/unit/controller/ExternalApiControllerTest.php @@ -284,7 +284,7 @@ class ExternalApiControllerTest extends TestCase public function testSharedRosterWithoutUsername() { $this->expectException(\Exception::class); - $this->expectExceptionMessage('No username provided'); + $this->expectExceptionMessage('Can\'t find user'); $this->externalApiController->sharedRoster(); } |