destructr/tests/LegacyDrivers/IntegrationTests/SQLiteDriverIntegrationTest.php

24 lines
713 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-08-17 22:32:26 +00:00
namespace Destructr\LegacyDrivers\IntegrationTests;
2018-08-17 17:32:10 +00:00
use PHPUnit\Framework\TestCase;
2018-08-17 22:32:26 +00:00
use Destructr\Drivers\IntegrationTests\AbstractDriverIntegrationTest;
use Destructr\LegacyDrivers\SQLiteDriver;
2018-08-17 17:32:10 +00:00
class MySQLDriverTest extends AbstractDriverIntegrationTest
{
const DRIVER_CLASS = SQLiteDriver::class;
const DRIVER_DSN = 'sqlite:'.__DIR__.'/test.sqlite';
const DRIVER_USERNAME = null;
const DRIVER_PASSWORD = null;
const DRIVER_OPTIONS = null;
const TEST_TABLE = 'sqliteintegrationtest';
public static function setUpBeforeClass()
{
@unlink(__DIR__.'/test.sqlite');
}
}