destructr/tests/LegacyDrivers/SQLiteDriverTest.php

22 lines
601 B
PHP
Raw Normal View History

2018-08-17 17:32:10 +00:00
<?php
/* Digraph CMS: Destructr | https://github.com/digraphcms/destructr | MIT License */
declare(strict_types=1);
namespace Digraph\Destructr\LegacyDrivers;
use PHPUnit\Framework\TestCase;
use Digraph\Destructr\Drivers\AbstractDriverTest;
class SQLiteDriverTest extends AbstractDriverTest
{
const DRIVER_CLASS = SQLiteDriver::class;
const DRIVER_DSN = 'sqlite:'.__DIR__.'/test.sqlite';
const DRIVER_USERNAME = null;
const DRIVER_PASSWORD = null;
const DRIVER_OPTIONS = null;
public static function setUpBeforeClass()
{
@unlink(__DIR__.'/test.sqlite');
}
}