summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-26 09:29:15 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-04-26 14:51:21 +0200
commite93bf80b29cde236c5d78023b49435283e4b2562 (patch)
tree3640e7778974a0577f0eaf6661280bb76edceaa1 /tests/lib
parent0d53e86421faef0300d509b385934754b4dab88c (diff)
downloadnextcloud-server-e93bf80b29cde236c5d78023b49435283e4b2562.tar.gz
nextcloud-server-e93bf80b29cde236c5d78023b49435283e4b2562.zip
throw SessionNotAvailableException if session_id returns empty string
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/session/memory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/session/memory.php b/tests/lib/session/memory.php
index 750fcf2ec6f..dbf2737fb3f 100644
--- a/tests/lib/session/memory.php
+++ b/tests/lib/session/memory.php
@@ -17,7 +17,7 @@ class Memory extends Session {
}
/**
- * @expectedException \Exception
+ * @expectedException OCP\Session\Exceptions\SessionNotAvailableException
*/
public function testThrowsExceptionOnGetId() {
$this->instance->getId();