Skip to content

Commit 16a8fb0

Browse files
joshtrichardsbackportbot[bot]
authored andcommitted
test(db): retrieve Connection service in DB-req test
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 8716bd7 commit 16a8fb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/lib/DB/MigrationServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function testGetMigration($alias, $expected): void {
221221
#[Group('DB')]
222222
public function testGetMigratedVersionsSortsByVersionThenDate(): void {
223223
/** @var Connection $db */
224-
$db = Server::get(IDBConnection::class);
224+
$db = Server::get(Connection::class);
225225
$appId = 'migration_sort_' . bin2hex(random_bytes(8));
226226

227227
$migrationService = new class('testing', $db, $appId) extends MigrationService {

0 commit comments

Comments
 (0)