diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-01 09:51:46 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-08-01 09:56:46 +0300 |
commit | fa402d715677459fe24e23bad09673c1f3f3507b (patch) | |
tree | dd819ab7ca7351b354d34440cd6afdbdaca1e053 /tests | |
parent | 09419256b1f62db3e845b203d8c1e0ad3a37bd5a (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.php | 6 |
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') |