From 3497fb599ee4d9e51f2a172951bb7782c43d2408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= <25648755+M-arcus@users.noreply.github.com> Date: Fri, 2 Aug 2024 11:57:44 +0200 Subject: [PATCH] Adjust PHPUnit tests --- tests/Services/UpgradeManagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Services/UpgradeManagerTest.php b/tests/Services/UpgradeManagerTest.php index e319530..f55e8fe 100644 --- a/tests/Services/UpgradeManagerTest.php +++ b/tests/Services/UpgradeManagerTest.php @@ -112,7 +112,7 @@ public function testRunUpdatesVersionNoAssetCompile(): void $manager->run(new RunConfiguration(true, true), $this->createMock(OutputInterface::class)); - static::assertCount(2, $consoleCommands); + static::assertCount(4, $consoleCommands); static::assertSame(['system:update:finish', '--skip-asset-build'], $consoleCommands[0]); } @@ -150,7 +150,7 @@ public function testRunWithDifferentSalesChannelUrl(): void $manager->run(new RunConfiguration(), $this->createMock(OutputInterface::class)); - static::assertCount(3, $consoleCommands); + static::assertCount(5, $consoleCommands); static::assertSame(['sales-channel:create:storefront', '--name=Storefront', '--url=http://localhost'], $consoleCommands[0]); } }