Test connection
This commit is contained in:
parent
9d804f655e
commit
8baac61212
|
@ -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 New Issue
Block a user