Revert autocomplete controller tests to match stable20
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
31f7257c30
commit
945eb07497
|
@ -75,8 +75,8 @@ class AutoCompleteControllerTest extends TestCase {
|
|||
],
|
||||
// expected
|
||||
[
|
||||
[ 'id' => 'alice', 'label' => 'Alice A.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
|
||||
[ 'id' => 'bob', 'label' => 'Bob Y.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
|
||||
[ 'id' => 'alice', 'label' => 'Alice A.', 'source' => 'users'],
|
||||
[ 'id' => 'bob', 'label' => 'Bob Y.', 'source' => 'users'],
|
||||
],
|
||||
'',
|
||||
'files',
|
||||
|
@ -96,8 +96,8 @@ class AutoCompleteControllerTest extends TestCase {
|
|||
],
|
||||
// expected
|
||||
[
|
||||
[ 'id' => 'alice', 'label' => 'Alice A.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
|
||||
[ 'id' => 'bob', 'label' => 'Bob Y.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
|
||||
[ 'id' => 'alice', 'label' => 'Alice A.', 'source' => 'users'],
|
||||
[ 'id' => 'bob', 'label' => 'Bob Y.', 'source' => 'users'],
|
||||
],
|
||||
'',
|
||||
null,
|
||||
|
@ -117,8 +117,8 @@ class AutoCompleteControllerTest extends TestCase {
|
|||
],
|
||||
// expected
|
||||
[
|
||||
[ 'id' => 'alice', 'label' => 'Alice A.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
|
||||
[ 'id' => 'bob', 'label' => 'Bob Y.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
|
||||
[ 'id' => 'alice', 'label' => 'Alice A.', 'source' => 'users'],
|
||||
[ 'id' => 'bob', 'label' => 'Bob Y.', 'source' => 'users'],
|
||||
],
|
||||
'',
|
||||
'files',
|
||||
|
@ -138,8 +138,8 @@ class AutoCompleteControllerTest extends TestCase {
|
|||
],
|
||||
],
|
||||
[
|
||||
[ 'id' => 'bob', 'label' => 'Bob Y.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
|
||||
[ 'id' => 'bobby', 'label' => 'Robert R.', 'icon' => '', 'source' => 'users', 'status' => '', 'subline' => ''],
|
||||
[ 'id' => 'bob', 'label' => 'Bob Y.', 'source' => 'users'],
|
||||
[ 'id' => 'bobby', 'label' => 'Robert R.', 'source' => 'users'],
|
||||
],
|
||||
'bob',
|
||||
'files',
|
||||
|
|
Loading…
Reference in New Issue