destructr/tests/LegacyDrivers/SQLite/SQLiteDriverTest.php

23 lines
631 B
PHP
Raw Normal View History

2018-08-17 17:32:10 +00:00
<?php
2018-08-17 22:32:26 +00:00
/* Destructr | https://gitlab.com/byjoby/destructr | MIT License */
2018-08-17 17:32:10 +00:00
declare(strict_types=1);
2018-09-19 21:20:20 +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-19 21:20:20 +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-19 21:20:20 +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-19 21:20:20 +00:00
@unlink(__DIR__.'/driver.test.sqlite');
2018-08-17 17:32:10 +00:00
}
}