summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-06-28 14:37:52 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2013-06-28 14:37:52 +0200
commit3abeb252d8b8777bce5ae2ec33d1234a77558b98 (patch)
treecf8a857b8e597976008d3eae23d17d28762162e7 /tests/lib
parent42cb77b9821eb032afce7e1b7f233c9ffcd0be41 (diff)
downloadnextcloud-server-3abeb252d8b8777bce5ae2ec33d1234a77558b98.tar.gz
nextcloud-server-3abeb252d8b8777bce5ae2ec33d1234a77558b98.zip
make PHPUnit happy and add asserts
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/session/session.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/session/session.php b/tests/lib/session/session.php
index 72dee44e7cb..9ce11274c84 100644
--- a/tests/lib/session/session.php
+++ b/tests/lib/session/session.php
@@ -44,7 +44,9 @@ abstract class Session extends \PHPUnit_Framework_TestCase {
}
public function testRemoveNonExisting() {
+ $this->assertFalse($this->instance->exists('foo'));
$this->instance->remove('foo');
+ $this->assertFalse($this->instance->exists('foo'));
}
public function testNotExistsAfterClear() {