f9a95898d4
* first attempt at PHPUnit tests in github actions * composer ignore platform deps * another try * plumbing * pdo auth * more plumbing * doing env variables right * will this work? * calling phpunit directly * don't specify test * export * bug fix * trying something * trying another thing * trying again * trying it right * might work this time * testing can't work on 7.0
34 lines
744 B
PHP
34 lines
744 B
PHP
<?php
|
|
/* Destructr | https://github.com/jobyone/destructr | MIT License */
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Destructr\Drivers\SQLite;
|
|
|
|
use Destructr\Drivers\AbstractSQLDriverSchemaChangeTest;
|
|
use Destructr\Drivers\SQLiteDriver;
|
|
|
|
class SQLiteDriverSchemaChangeTest extends AbstractSQLDriverSchemaChangeTest
|
|
{
|
|
const DRIVER_CLASS = SQLiteDriver::class;
|
|
|
|
public static function setUpBeforeClass()
|
|
{
|
|
@unlink(__DIR__ . '/schema.test.sqlite');
|
|
}
|
|
|
|
public static function DRIVER_DSN()
|
|
{
|
|
return 'sqlite:' . __DIR__ . '/schema.test.sqlite';
|
|
}
|
|
|
|
protected static function DRIVER_DBNAME()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
protected static function DRIVER_USERNAME()
|
|
{
|
|
return null;
|
|
}
|
|
}
|