for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Class PDOSQLiteMemoryTest
*
* @filesource PDOSQLiteMemoryTest.php
* @created 29.05.2017
* @package chillerlan\DatabaseTest\Drivers
* @author Smiley <[email protected]>
* @copyright 2017 Smiley
* @license MIT
*/
namespace chillerlan\DatabaseTest\Drivers;
use chillerlan\SimpleCache\Cache;
use chillerlan\SimpleCache\Drivers\MemoryCacheDriver;
class PDOSQLiteMemoryTest extends SQLiteDriverTestAbstract{
protected function setUp(){
parent::setUp();
$this->Cache = new Cache(new MemoryCacheDriver);
$this->DBOptions->database = ':memory:';
$this->DBDriver = (new $this->driver($this->DBOptions, $this->Cache))->connect();
}