Test connection

This commit is contained in:
Michael 2020-11-07 09:37:57 +00:00
parent 9d804f655e
commit 8baac61212

View file

@ -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());
} }