summaryrefslogtreecommitdiffstats
path: root/tests/Core/Controller/AutoCompleteControllerTest.php
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2021-03-24 13:25:03 +0100
committerGitHub <noreply@github.com>2021-03-24 13:25:03 +0100
commit4406092fd680dc26001a78cdcf179aca3dc0b235 (patch)
tree133cf04b3aafa3903d637fc7b07c3d2bdac47168 /tests/Core/Controller/AutoCompleteControllerTest.php
parent057c72d38b99b17ca885e07256f28346e109b995 (diff)
parent39a6d99526d3d0a4a632bb963cb10541826eec0b (diff)
downloadnextcloud-server-4406092fd680dc26001a78cdcf179aca3dc0b235.tar.gz
nextcloud-server-4406092fd680dc26001a78cdcf179aca3dc0b235.zip
Merge pull request #26265 from nextcloud/bugfix/noid/fix-php8-setup-failures
Fix casing of core test folder, bring back missing tests
Diffstat (limited to 'tests/Core/Controller/AutoCompleteControllerTest.php')
-rw-r--r--tests/Core/Controller/AutoCompleteControllerTest.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/Core/Controller/AutoCompleteControllerTest.php b/tests/Core/Controller/AutoCompleteControllerTest.php
index 73bc8492113..61fc90e3c82 100644
--- a/tests/Core/Controller/AutoCompleteControllerTest.php
+++ b/tests/Core/Controller/AutoCompleteControllerTest.php
@@ -75,8 +75,8 @@ class AutoCompleteControllerTest extends TestCase {
],
// expected
[
- [ 'id' => 'alice', 'label' => 'Alice A.', 'source' => 'users'],
- [ 'id' => 'bob', 'label' => 'Bob Y.', 'source' => 'users'],
+ [ 'id' => 'alice', 'label' => 'Alice A.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
+ [ 'id' => 'bob', 'label' => 'Bob Y.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
],
'',
'files',
@@ -96,8 +96,8 @@ class AutoCompleteControllerTest extends TestCase {
],
// expected
[
- [ 'id' => 'alice', 'label' => 'Alice A.', 'source' => 'users'],
- [ 'id' => 'bob', 'label' => 'Bob Y.', 'source' => 'users'],
+ [ 'id' => 'alice', 'label' => 'Alice A.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
+ [ 'id' => 'bob', 'label' => 'Bob Y.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
],
'',
null,
@@ -117,8 +117,8 @@ class AutoCompleteControllerTest extends TestCase {
],
// expected
[
- [ 'id' => 'alice', 'label' => 'Alice A.', 'source' => 'users'],
- [ 'id' => 'bob', 'label' => 'Bob Y.', 'source' => 'users'],
+ [ 'id' => 'alice', 'label' => 'Alice A.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
+ [ 'id' => 'bob', 'label' => 'Bob Y.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
],
'',
'files',
@@ -138,8 +138,8 @@ class AutoCompleteControllerTest extends TestCase {
],
],
[
- [ 'id' => 'bob', 'label' => 'Bob Y.', 'source' => 'users'],
- [ 'id' => 'bobby', 'label' => 'Robert R.', 'source' => 'users'],
+ [ 'id' => 'bob', 'label' => 'Bob Y.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
+ [ 'id' => 'bobby', 'label' => 'Robert R.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
],
'bob',
'files',