|
|
@@ -116,7 +116,7 @@ class DatabaseSessionTest extends TestCase
|
|
|
$this->assertSame($expected, $result);
|
|
|
|
|
|
$result = $this->storage->read('made up value');
|
|
|
- $this->assertFalse($result);
|
|
|
+ $this->assertSame('', $result);
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -127,7 +127,7 @@ class DatabaseSessionTest extends TestCase
|
|
|
$this->assertTrue($this->storage->write('foo', 'Some value'));
|
|
|
|
|
|
$this->assertTrue($this->storage->destroy('foo'), 'Destroy failed');
|
|
|
- $this->assertFalse($this->storage->read('foo'), 'Value still present.');
|
|
|
+ $this->assertSame('', $this->storage->read('foo'), 'Value still present.');
|
|
|
$this->assertTrue($this->storage->destroy('foo'), 'Destroy should always return true');
|
|
|
}
|
|
|
|
|
|
@@ -144,7 +144,7 @@ class DatabaseSessionTest extends TestCase
|
|
|
|
|
|
sleep(1);
|
|
|
$storage->gc(0);
|
|
|
- $this->assertFalse($storage->read('foo'));
|
|
|
+ $this->assertSame('', $storage->read('foo'));
|
|
|
}
|
|
|
|
|
|
/**
|