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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-01 09:51:46 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-01 09:56:46 +0300
commitfa402d715677459fe24e23bad09673c1f3f3507b (patch)
treedd819ab7ca7351b354d34440cd6afdbdaca1e053 /tests
parent09419256b1f62db3e845b203d8c1e0ad3a37bd5a (diff)
Make OCA\Mail\Service\AutoCompletion strict
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r--tests/Controller/AutoconfigControllerTest.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Controller/AutoconfigControllerTest.php b/tests/Controller/AutoconfigControllerTest.php
index cd25bd13f..848b52d08 100644
--- a/tests/Controller/AutoconfigControllerTest.php
+++ b/tests/Controller/AutoconfigControllerTest.php
@@ -44,7 +44,11 @@ class AutoConfigControllerTest extends TestCase {
public function testAutoComplete() {
$term = 'john d';
- $result = 'johne doe';
+ $result = [
+ 'id' => 13,
+ 'label' => 'johne doe',
+ 'value' => 'johne doe <john@doe.com>',
+ ];
$this->service->expects($this->once())
->method('findMatches')