2018-08-17 17:32:10 +00:00
|
|
|
<?php
|
2020-08-26 15:52:25 +00:00
|
|
|
/* Destructr | https://github.com/jobyone/destructr | MIT License */
|
2018-08-17 17:32:10 +00:00
|
|
|
declare(strict_types=1);
|
2018-09-14 18:04:28 +00:00
|
|
|
namespace Destructr\LegacyDrivers\SQLite;
|
2018-08-17 17:32:10 +00:00
|
|
|
|
|
|
|
use PHPUnit\Framework\TestCase;
|
2018-08-17 22:32:26 +00:00
|
|
|
use Destructr\Drivers\AbstractDriverTest;
|
2018-09-14 18:04:28 +00:00
|
|
|
use Destructr\LegacyDrivers\SQLiteDriver;
|
2018-08-17 17:32:10 +00:00
|
|
|
|
|
|
|
class SQLiteDriverTest extends AbstractDriverTest
|
|
|
|
{
|
|
|
|
const DRIVER_CLASS = SQLiteDriver::class;
|
2018-09-14 18:17:54 +00:00
|
|
|
const DRIVER_DSN = 'sqlite:'.__DIR__.'/driver.test.sqlite';
|
2018-08-17 17:32:10 +00:00
|
|
|
const DRIVER_USERNAME = null;
|
|
|
|
const DRIVER_PASSWORD = null;
|
|
|
|
const DRIVER_OPTIONS = null;
|
|
|
|
|
|
|
|
public static function setUpBeforeClass()
|
|
|
|
{
|
2018-09-14 18:17:54 +00:00
|
|
|
@unlink(__DIR__.'/driver.test.sqlite');
|
2018-08-17 17:32:10 +00:00
|
|
|
}
|
|
|
|
}
|