Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/jsxc.nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Waldvogel <marcel.waldvogel@uni-konstanz.de>2017-08-17 15:40:55 +0300
committerKlaus <klaus@jsxc.org>2017-08-17 15:40:55 +0300
commitc8a22ffdf987ac9c8d3833475ae4f95a8bff4e0b (patch)
tree72eb7b6d22fc957479300e96dae5206be8502240 /tests/unit
parent01f3e627d3e6445dbfafa8c73149a44057dc8c62 (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.php2
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();
}