Skip to content

Commit 81df5ba

Browse files
Usage of query for older NC instances
Signed-off-by: Christian Wolf <github@christianwolf.email>
1 parent 3b8fb3d commit 81df5ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Integration/Setup/Migrations/Version000000Date20210701093123Test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function setUp(): void {
4747
$schema = $this->container->query(SchemaWrapper::class);
4848
$this->assertIsObject($schema);
4949

50-
$connection = \OC::$server->get(Connection::class);
50+
$connection = \OC::$server->query(Connection::class);
5151
$this->migrationService = new MigrationService('cookbook', $connection);
5252

5353
// undo all migrations of cookbook app

0 commit comments

Comments
 (0)