summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-06-24 18:11:20 +0200
committerJoas Schilling <coding@schilljs.com>2020-06-24 18:13:37 +0200
commita2f34f46b28fe2d072e23768fe8df60c6041d025 (patch)
tree2d7049b19809c0d51d388dc809231837e350b5d8 /apps/dav/tests
parent89ed2c37bf656ceb772bb6759c8977a7dc78b3fb (diff)
downloadnextcloud-server-a2f34f46b28fe2d072e23768fe8df60c6041d025.tar.gz
nextcloud-server-a2f34f46b28fe2d072e23768fe8df60c6041d025.zip
Fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/Files/FileSearchBackendTest.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/dav/tests/unit/Files/FileSearchBackendTest.php b/apps/dav/tests/unit/Files/FileSearchBackendTest.php
index a5841da2c66..733de9ea1e9 100644
--- a/apps/dav/tests/unit/Files/FileSearchBackendTest.php
+++ b/apps/dav/tests/unit/Files/FileSearchBackendTest.php
@@ -44,7 +44,6 @@ use OCP\Share\IManager;
use SearchDAV\Backend\SearchPropertyDefinition;
use SearchDAV\Query\Limit;
use SearchDAV\Query\Query;
-use SearchDAV\XML\Operator;
use Test\TestCase;
class FileSearchBackendTest extends TestCase {
@@ -258,7 +257,7 @@ class FileSearchBackendTest extends TestCase {
$this->assertEquals('/files/test/test/path', $result[0]->href);
}
-
+
public function testSearchInvalidProp() {
$this->expectException(\InvalidArgumentException::class);
@@ -295,7 +294,7 @@ class FileSearchBackendTest extends TestCase {
return new Query($select, $from, $where, $orderBy, $limit);
}
-
+
public function testSearchNonFolder() {
$this->expectException(\InvalidArgumentException::class);