From: Thomas Mueller Date: Fri, 28 Jun 2013 12:37:52 +0000 (+0200) Subject: make PHPUnit happy and add asserts X-Git-Tag: v6.0.0alpha2~573^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3abeb252d8b8777bce5ae2ec33d1234a77558b98;p=nextcloud-server.git make PHPUnit happy and add asserts --- 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() {