destructr/tests/LegacyDrivers/SQLite/SQLiteDriverIntegrationTest.php

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