]> source.dussan.org Git - nextcloud-server.git/commitdiff
make PHPUnit happy and add asserts
authorThomas Mueller <thomas.mueller@tmit.eu>
Fri, 28 Jun 2013 12:37:52 +0000 (14:37 +0200)
committerThomas Mueller <thomas.mueller@tmit.eu>
Fri, 28 Jun 2013 12:37:52 +0000 (14:37 +0200)
tests/lib/session/session.php

index 72dee44e7cb14e4b35f096fba62428c612d52766..9ce11274c840d6b715e9bd621625ec8272b916a3 100644 (file)
@@ -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() {