23 lines
651 B
PHP
23 lines
651 B
PHP
<?php
|
|
/* Destructr | https://gitlab.com/byjoby/destructr | MIT License */
|
|
declare(strict_types=1);
|
|
namespace Destructr\LegacyDrivers;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Destructr\Drivers\AbstractDriverTest;
|
|
|
|
class MySQL56DriverTest extends AbstractDriverTest
|
|
{
|
|
const DRIVER_CLASS = \Destructr\LegacyDrivers\MySQL56Driver::class;
|
|
const DRIVER_DSN = 'mysql:host=127.0.0.1;dbname=phpunit';
|
|
const DRIVER_USERNAME = 'travis';
|
|
const DRIVER_PASSWORD = null;
|
|
const DRIVER_OPTIONS = null;
|
|
|
|
public function createDriver()
|
|
{
|
|
$class = parent::createDriver();
|
|
$class->createLegacyUDF();
|
|
return $class;
|
|
}
|
|
}
|