destructr/tests/Drivers/SQLite/SQLiteDriverTest.php

22 lines
597 B
PHP
Raw Normal View History

2018-08-17 17:32:10 +00:00
<?php
/* Destructr | https://github.com/jobyone/destructr | MIT License */
2020-08-27 17:42:11 +00:00
declare (strict_types = 1);
namespace Destructr\Drivers\SQLite;
2018-08-17 17:32:10 +00:00
use Destructr\Drivers\AbstractSQLDriverTest;
2020-08-27 17:42:11 +00:00
use Destructr\Drivers\SQLiteDriver;
2018-08-17 17:32:10 +00:00
class SQLiteDriverTest extends AbstractSQLDriverTest
2018-08-17 17:32:10 +00:00
{
const DRIVER_CLASS = SQLiteDriver::class;
2018-09-14 18:17:54 +00:00
const DRIVER_DSN = 'sqlite:'.__DIR__.'/driver.test.sqlite';
2020-08-27 17:42:11 +00:00
const DRIVER_USERNAME = 'root';
const DRIVER_PASSWORD = '';
2018-08-17 17:32:10 +00:00
const DRIVER_OPTIONS = null;
public static function setUpBeforeClass()
{
@unlink(__DIR__.'/driver.test.sqlite');
}
2018-08-17 17:32:10 +00:00
}