Skip to content

Commit

Permalink
Adjust PHPUnit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
M-arcus committed Aug 2, 2024
1 parent 52d4b5e commit 3497fb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Services/UpgradeManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}

Expand Down Expand Up @@ -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]);
}
}

0 comments on commit 3497fb5

Please sign in to comment.