Database text no checks for database driver
This commit is contained in:
parent
3a5cdecb62
commit
9d804f655e
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue