Completed
Push — master ( ffbb02...68e5b2 )
by smiley
02:42
created

SQLiteQueryTest::testCreateDatabase()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
/**
3
 *
4
 * @filesource   SQLiteQueryTest.php
5
 * @created      12.06.2017
6
 * @package      chillerlan\DatabaseTest\Query
7
 * @author       Smiley <[email protected]>
8
 * @copyright    2017 Smiley
9
 * @license      MIT
10
 */
11
12
namespace chillerlan\DatabaseTest\Query;
13
14
use chillerlan\Database\Drivers\PDO\PDOSQLiteDriver;
15
16
/**
17
 * Class SQLiteQueryTest
18
 */
19
class SQLiteQueryTest extends QueryTestAbstract{
20
21
	protected $driver = PDOSQLiteDriver::class;
22
	protected $envVar = 'DB_SQLITE3_';
23
24
	public function testCreateDatabase(){
25
		$this->assertSame(
26
			'--NOT SUPPORTED',
27
			$this->createDatabase()->sql()
28
		);
29
	}
30
31
	public function testCreateDatabaseNoName(){
32
		$this->markTestSkipped('[sqlite] create database not supported');
33
	}
34
35
}
36