mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
单元测试调整
This commit is contained in:
@@ -160,14 +160,4 @@ abstract class cacheTestCase extends \PHPUnit_Framework_TestCase
|
||||
$this->assertNotNull(Cache::rm('a'));
|
||||
}
|
||||
|
||||
public function testQueue()
|
||||
{
|
||||
$cache = $this->prepare();
|
||||
$this->assertTrue($cache->set('1', '1'));
|
||||
$this->assertTrue($cache->set('2', '2'));
|
||||
$this->assertTrue($cache->set('3', '3'));
|
||||
$this->assertEquals(1, $cache->get('1'));
|
||||
$this->assertTrue($cache->set('4', '4'));
|
||||
$this->assertFalse($cache->get('1'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user