make PHPUnit happy and add asserts

This commit is contained in:
Thomas Mueller 2013-06-28 14:37:52 +02:00
parent 42cb77b982
commit 3abeb252d8
1 changed files with 2 additions and 0 deletions

View File

@ -44,7 +44,9 @@ abstract class Session extends \PHPUnit_Framework_TestCase {
} }
public function testRemoveNonExisting() { public function testRemoveNonExisting() {
$this->assertFalse($this->instance->exists('foo'));
$this->instance->remove('foo'); $this->instance->remove('foo');
$this->assertFalse($this->instance->exists('foo'));
} }
public function testNotExistsAfterClear() { public function testNotExistsAfterClear() {