destructr/tests/LegacyDrivers/MySQL56DriverTest.php

24 lines
651 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;
2018-08-17 17:32:10 +00:00
use PHPUnit\Framework\TestCase;
2018-08-17 22:32:26 +00:00
use Destructr\Drivers\AbstractDriverTest;
2018-08-17 17:32:10 +00:00
class MySQL56DriverTest extends AbstractDriverTest
{
2018-08-17 22:32:26 +00:00
const DRIVER_CLASS = \Destructr\LegacyDrivers\MySQL56Driver::class;
2018-08-17 17:32:10 +00:00
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;
}
}