Test connection
This commit is contained in:
parent
9d804f655e
commit
8baac61212
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ class DependencyCheckTest extends TestCase
|
||||||
|
|
||||||
self::assertInstanceOf(Database::class, $database);
|
self::assertInstanceOf(Database::class, $database);
|
||||||
self::assertContains($database->getDriver(), [Database::PDO, Database::MYSQLI]);
|
self::assertContains($database->getDriver(), [Database::PDO, Database::MYSQLI]);
|
||||||
|
self::assertNotNull($database->getConnection());
|
||||||
self::assertTrue($database->connected());
|
self::assertTrue($database->connected());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue