diff options
author | Joas Schilling <coding@schilljs.com> | 2020-06-24 18:11:20 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-06-24 18:13:37 +0200 |
commit | a2f34f46b28fe2d072e23768fe8df60c6041d025 (patch) | |
tree | 2d7049b19809c0d51d388dc809231837e350b5d8 /apps/dav/tests | |
parent | 89ed2c37bf656ceb772bb6759c8977a7dc78b3fb (diff) | |
download | nextcloud-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.php | 5 |
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); |