aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-06-28 15:55:02 +0200
committerJoas Schilling <coding@schilljs.com>2024-07-19 11:21:11 +0200
commita4c1d7291f68423c719ace177ea9a94203b31845 (patch)
treede85931323fabe5c42ae86245bb91cdd75cf609f /tests
parentf92352eda47c666d7964188d3100e7cdf23f6a83 (diff)
downloadnextcloud-server-a4c1d7291f68423c719ace177ea9a94203b31845.tar.gz
nextcloud-server-a4c1d7291f68423c719ace177ea9a94203b31845.zip
fix(db): Use `createSchemaManager()` method as `getSchemaManager()` is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Repair/RepairCollationTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Repair/RepairCollationTest.php b/tests/lib/Repair/RepairCollationTest.php
index 55bda8337c9..5f5e0737f77 100644
--- a/tests/lib/Repair/RepairCollationTest.php
+++ b/tests/lib/Repair/RepairCollationTest.php
@@ -73,7 +73,7 @@ class RepairCollationTest extends TestCase {
}
protected function tearDown(): void {
- $this->connection->getInner()->getSchemaManager()->dropTable($this->tableName);
+ $this->connection->getInner()->createSchemaManager()->dropTable($this->tableName);
parent::tearDown();
}