提交的内容
This commit is contained in:
2
vendor/topthink/framework/tests/CacheTest.php
vendored
Executable file → Normal file
2
vendor/topthink/framework/tests/CacheTest.php
vendored
Executable file → Normal file
@ -83,9 +83,9 @@ class CacheTest extends TestCase
|
||||
$this->assertTrue($this->cache->get('bar'));
|
||||
|
||||
$this->cache->set('baz', null);
|
||||
$this->assertTrue($this->cache->has('baz'));
|
||||
$this->assertNull($this->cache->get('baz'));
|
||||
|
||||
$this->assertTrue($this->cache->has('baz'));
|
||||
$this->cache->delete('baz');
|
||||
$this->assertFalse($this->cache->has('baz'));
|
||||
$this->assertNull($this->cache->get('baz'));
|
||||
|
||||
Reference in New Issue
Block a user