aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-05 17:56:01 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-05 17:57:17 +0200
commitd2c0569b490235ae6d01087a676b2f2075a1dcb7 (patch)
tree088cd2e214cd5c22ad1d6de688b559ae7ebc33c8 /apps/dav/tests/unit
parent55473dd2eb042078b7fc5aef37e7b7fb614554fa (diff)
downloadnextcloud-server-d2c0569b490235ae6d01087a676b2f2075a1dcb7.tar.gz
nextcloud-server-d2c0569b490235ae6d01087a676b2f2075a1dcb7.zip
Fix search providers order and IDs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/dav/tests/unit')
-rw-r--r--apps/dav/tests/unit/Search/ContactsSearchProviderTest.php2
-rw-r--r--apps/dav/tests/unit/Search/EventsSearchProviderTest.php2
-rw-r--r--apps/dav/tests/unit/Search/TasksSearchProviderTest.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php b/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php
index 858e79d4423..1ca0457adb6 100644
--- a/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php
+++ b/apps/dav/tests/unit/Search/ContactsSearchProviderTest.php
@@ -88,7 +88,7 @@ class ContactsSearchProviderTest extends TestCase {
}
public function testGetId(): void {
- $this->assertEquals('contacts-dav', $this->provider->getId());
+ $this->assertEquals('contacts', $this->provider->getId());
}
public function testGetName(): void {
diff --git a/apps/dav/tests/unit/Search/EventsSearchProviderTest.php b/apps/dav/tests/unit/Search/EventsSearchProviderTest.php
index eedbe39f12a..cd905760fac 100644
--- a/apps/dav/tests/unit/Search/EventsSearchProviderTest.php
+++ b/apps/dav/tests/unit/Search/EventsSearchProviderTest.php
@@ -250,7 +250,7 @@ class EventsSearchProviderTest extends TestCase {
}
public function testGetId(): void {
- $this->assertEquals('calendar-dav', $this->provider->getId());
+ $this->assertEquals('calendar', $this->provider->getId());
}
public function testGetName(): void {
diff --git a/apps/dav/tests/unit/Search/TasksSearchProviderTest.php b/apps/dav/tests/unit/Search/TasksSearchProviderTest.php
index 7220ff4ef48..732625980e8 100644
--- a/apps/dav/tests/unit/Search/TasksSearchProviderTest.php
+++ b/apps/dav/tests/unit/Search/TasksSearchProviderTest.php
@@ -134,7 +134,7 @@ class TasksSearchProviderTest extends TestCase {
}
public function testGetId(): void {
- $this->assertEquals('tasks-dav', $this->provider->getId());
+ $this->assertEquals('tasks', $this->provider->getId());
}
public function testGetName(): void {