Skip to content

Commit

Permalink
Merge pull request #240 from nesrineabdmouleh/addAutoupgradeCampaign
Browse files Browse the repository at this point in the history
Add autoupgared campaign to run in nightly
  • Loading branch information
Progi1984 authored Jul 8, 2024
2 parents 431b5da + d81aa25 commit 66496db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Service/ReportPlaywrightImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class ReportPlaywrightImporter extends AbstractReportImporter
public const FILTER_CAMPAIGNS = [
'blockwishlist',
'ps_cashondelivery',
'autoupgrade',
];

private EntityManagerInterface $entityManager;
Expand Down
2 changes: 1 addition & 1 deletion tests/Controller/ImportControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public function testReportPlaywrightWithNoValidCampaign(): void
$content = $response->getContent();
$content = json_decode($content, true);
$this->assertArrayHasKey('message', $content);
$this->assertEquals('The campaign "ps_notAllowedCampaign" is not allowed (blockwishlist, ps_cashondelivery).', $content['message']);
$this->assertEquals('The campaign "ps_notAllowedCampaign" is not allowed (blockwishlist, ps_cashondelivery, autoupgrade).', $content['message']);
}

public function testReportPlaywrightOk(): void
Expand Down

0 comments on commit 66496db

Please sign in to comment.