Database text no checks for database driver
This commit is contained in:
parent
3a5cdecb62
commit
9d804f655e
|
@ -119,6 +119,7 @@ class DependencyCheckTest extends TestCase
|
||||||
$database = $this->dice->create(Database::class);
|
$database = $this->dice->create(Database::class);
|
||||||
|
|
||||||
self::assertInstanceOf(Database::class, $database);
|
self::assertInstanceOf(Database::class, $database);
|
||||||
|
self::assertContains($database->getDriver(), [Database::PDO, Database::MYSQLI]);
|
||||||
self::assertTrue($database->connected());
|
self::assertTrue($database->connected());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user