From e5fefe5e2659afbf0a6b5268b3a4319806ab4935 Mon Sep 17 00:00:00 2001 From: "(skovati) Luke" Date: Thu, 5 Sep 2024 15:20:09 -0700 Subject: [PATCH] use `GoalSource` in test instantiation --- .../worker/services/SchedulingEdslIntegrationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scheduler-worker/src/test/java/gov/nasa/jpl/aerie/scheduler/worker/services/SchedulingEdslIntegrationTests.java b/scheduler-worker/src/test/java/gov/nasa/jpl/aerie/scheduler/worker/services/SchedulingEdslIntegrationTests.java index eb5dd506b2..29f6c386fb 100644 --- a/scheduler-worker/src/test/java/gov/nasa/jpl/aerie/scheduler/worker/services/SchedulingEdslIntegrationTests.java +++ b/scheduler-worker/src/test/java/gov/nasa/jpl/aerie/scheduler/worker/services/SchedulingEdslIntegrationTests.java @@ -2198,7 +2198,7 @@ private SchedulingRunResults runScheduler( final var goalsByPriority = new ArrayList(); for (final var goal : goals) { - goalsByPriority.add(new GoalRecord(goal.goalId(), "test goal", new GoalType.EDSL(goal.definition()), goal.simulateAfter())); + goalsByPriority.add(new GoalRecord(goal.goalId(), "test goal", new GoalType.EDSL(new GoalSource(goal.definition())), goal.simulateAfter())); } final var specificationService = new SpecificationService(new MockSpecificationRepository(Map.of(new SpecificationId(1L), new Specification( new SpecificationId(1L),