Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lim Sim committed Jan 14, 2025
1 parent aeb7c57 commit b441ae1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public override GeneratorResult Generate(int scenario, int item, DateTime entryD
var random = new Random();
var decision = new Decision();
decision.ConsignmentAcceptable = true;
decision.DecisionEnum = DecisionDecisionEnum.AcceptableForTranshipment;
decision.DecisionEnum = DecisionDecisionEnum.AcceptableForInternalMarket;

var chedAImportNotification = ((ImportNotificationBuilder)builders
.Single(b => b.filePath == "AllChedsWithDecision/IPAFFS/cheda.json")
Expand All @@ -101,13 +101,15 @@ public override GeneratorResult Generate(int scenario, int item, DateTime entryD
.Single(b => b.filePath == "AllChedsWithDecision/IPAFFS/chedp.json")
.builder)
.WithReferenceNumber(ImportNotificationTypeEnum.Cvedp, scenario, entryDate, random.Next(1, 100))
.WithImportNotificationStatus(ImportNotificationStatusEnum.Validated)
.WithPartTwoDecision(decision)
.ValidateAndBuild();

var chedDImportNotification = ((ImportNotificationBuilder)builders
.Single(b => b.filePath == "AllChedsWithDecision/IPAFFS/chedd.json")
.builder)
.WithReferenceNumber(ImportNotificationTypeEnum.Ced, scenario, entryDate, random.Next(1, 100))
.WithImportNotificationStatus(ImportNotificationStatusEnum.Validated)
.WithPartTwoDecision(decision)
.ValidateAndBuild();

Expand Down

0 comments on commit b441ae1

Please sign in to comment.