destructr/tests/Drivers/SQLite/SQLiteDriverTest.php

35 lines
708 B
PHP
Raw Permalink Normal View History

2018-08-17 17:32:10 +00:00
<?php
/* Destructr | https://github.com/jobyone/destructr | MIT License */
declare(strict_types=1);
2020-08-27 17:42:11 +00:00
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;
public static function setUpBeforeClass()
{
@unlink(__DIR__ . '/driver.test.sqlite');
}
public static function DRIVER_DSN()
{
return 'sqlite:' . __DIR__ . '/driver.test.sqlite';
}
protected static function DRIVER_DBNAME()
{
return null;
}
protected static function DRIVER_USERNAME()
{
return null;
}
2018-08-17 17:32:10 +00:00
}