destructr/tests/Drivers/SQLite/SQLiteDriverIntegrationTest.php

35 lines
751 B
PHP
Raw Permalink Normal View History

2020-08-27 17:42:11 +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;
use Destructr\Drivers\AbstractSQLDriverIntegrationTest;
2020-08-27 17:42:11 +00:00
use Destructr\Drivers\SQLiteDriver;
class SQLiteDriverIntegrationTest extends AbstractSQLDriverIntegrationTest
2020-08-27 17:42:11 +00:00
{
const DRIVER_CLASS = SQLiteDriver::class;
public static function setUpBeforeClass()
{
@unlink(__DIR__ . '/integration.test.sqlite');
}
public static function DRIVER_DSN()
{
return 'sqlite:' . __DIR__ . '/integration.test.sqlite';
}
protected static function DRIVER_DBNAME()
{
return null;
}
protected static function DRIVER_USERNAME()
{
return null;
}
2020-08-27 17:42:11 +00:00
}