diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-04-26 09:29:15 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-04-26 14:51:21 +0200 |
commit | e93bf80b29cde236c5d78023b49435283e4b2562 (patch) | |
tree | 3640e7778974a0577f0eaf6661280bb76edceaa1 /tests/lib | |
parent | 0d53e86421faef0300d509b385934754b4dab88c (diff) | |
download | nextcloud-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.php | 2 |
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(); |