summaryrefslogtreecommitdiffstats
path: root/apps/dav/tests
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-09-01 23:04:07 +0200
committerGeorg Ehrke <developer@georgehrke.com>2018-09-05 14:10:26 +0200
commit83639a9898581919a84f1e2b05e64b236c8268e2 (patch)
tree062fa06720501b970175729d460fe061c010dc8a /apps/dav/tests
parent1c1bf01241a0e7d182a135df02cf85004eb4b898 (diff)
downloadnextcloud-server-83639a9898581919a84f1e2b05e64b236c8268e2.tar.gz
nextcloud-server-83639a9898581919a84f1e2b05e64b236c8268e2.zip
remove LogicException, because it's also triggered with legitimate parameters
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/tests')
-rw-r--r--apps/dav/tests/unit/CalDAV/PluginTest.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/dav/tests/unit/CalDAV/PluginTest.php b/apps/dav/tests/unit/CalDAV/PluginTest.php
index 47190d583f0..87bf69c2805 100644
--- a/apps/dav/tests/unit/CalDAV/PluginTest.php
+++ b/apps/dav/tests/unit/CalDAV/PluginTest.php
@@ -63,11 +63,7 @@ class PluginTest extends TestCase {
$this->assertSame($expected, $this->plugin->getCalendarHomeForPrincipal($input));
}
- /**
- * @expectedException \LogicException
- * @expectedExceptionMessage This is not supposed to happen
- */
public function testGetCalendarHomeForUnknownPrincipal() {
- $this->plugin->getCalendarHomeForPrincipal('FOO/BAR/BLUB');
+ $this->assertNull($this->plugin->getCalendarHomeForPrincipal('FOO/BAR/BLUB'));
}
}