mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Restore the connection check
This commit is contained in:
parent
1e52c430e6
commit
eb8caaa5e7
2 changed files with 8 additions and 9 deletions
|
@ -119,9 +119,9 @@ class DependencyCheckTest extends TestCase
|
|||
$database = $this->dice->create(Database::class);
|
||||
|
||||
self::assertInstanceOf(Database::class, $database);
|
||||
self::assertContains($database->getDriver(), [Database::PDO, Database::MYSQLI]);
|
||||
self::assertNotNull($database->getConnection());
|
||||
self::assertTrue($database->connected());
|
||||
self::assertContains($database->getDriver(), [Database::PDO, Database::MYSQLI], 'The driver returns an unexpected value');
|
||||
self::assertNotNull($database->getConnection(), 'There is no database connection');
|
||||
self::assertTrue($database->connected(), 'The database is not connected');
|
||||
}
|
||||
|
||||
public function testAppMode()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue