单元测试调整

This commit is contained in:
thinkphp
2016-05-05 16:35:05 +08:00
parent 855c2c75da
commit 2aafd538d2
2 changed files with 1 additions and 24 deletions

View File

@@ -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'));
}
}