for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
* @filesource FirebirdQueryTest.php
* @created 12.06.2017
* @package chillerlan\DatabaseTest\Query
* @author Smiley <[email protected]>
* @copyright 2017 Smiley
* @license MIT
*/
namespace chillerlan\DatabaseTest\Query;
use chillerlan\Database\Drivers\PDO\PDOFirebirdDriver;
* Class FirebirdQueryTest
class FirebirdQueryTest extends QueryTestAbstract{
protected $driver = PDOFirebirdDriver::class;
protected $envVar = 'DB_FIREBIRD_';
public function setUp(){
$this->markTestIncomplete('use the vagrant box...');
}
public function testCreateDatabase(){
$this->assertSame(
'CREATE DATABASE querytest DEFAULT CHARACTER SET UTF8',
$this->createDatabase()->sql()
);
'CREATE DATABASE querytest DEFAULT CHARACTER SET UTF8 COLLATION UNICODE_CI_AI',
$this->createDatabase()->charset('utf8_UNICODE_CI_AI')->sql()