aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-04-11 11:13:44 +0200
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-04-11 13:59:27 +0000
commiteed6330b92cc83541206a0c29980245ebbf3375a (patch)
tree3bc8b1ba977ab718fae204040eb0618b6be57aa3
parentdda51d49d7e108d149c042964f9c2e3efef14110 (diff)
downloadnextcloud-server-eed6330b92cc83541206a0c29980245ebbf3375a.tar.gz
nextcloud-server-eed6330b92cc83541206a0c29980245ebbf3375a.zip
Adapt AccountMigratorTest to id change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r--apps/settings/tests/UserMigration/AccountMigratorTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/tests/UserMigration/AccountMigratorTest.php b/apps/settings/tests/UserMigration/AccountMigratorTest.php
index c668bb9e6af..b7826c20e60 100644
--- a/apps/settings/tests/UserMigration/AccountMigratorTest.php
+++ b/apps/settings/tests/UserMigration/AccountMigratorTest.php
@@ -98,7 +98,7 @@ class AccountMigratorTest extends TestCase {
$this->importSource
->expects($this->once())
->method('getMigratorVersion')
- ->with(AccountMigrator::class)
+ ->with($this->migrator->getId())
->willReturn(1);
$this->importSource