]> source.dussan.org Git - nextcloud-server.git/commitdiff
Adapt AccountMigratorTest to id change 31925/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 11 Apr 2022 09:13:44 +0000 (11:13 +0200)
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>
Mon, 11 Apr 2022 13:59:27 +0000 (13:59 +0000)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/settings/tests/UserMigration/AccountMigratorTest.php

index c668bb9e6af15c3951c924650e0a914d01ec466e..b7826c20e60c58abeb67869c6c837e9aa682ac45 100644 (file)
@@ -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