From 02d74f9db32244b6de46ab1d8be8d9aad86b8708 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Thu, 5 Dec 2024 10:05:30 -0500 Subject: [PATCH] test(MonitoredTripTest): Fix incorrect var assignment. --- .../opentripplanner/middleware/models/MonitoredTripTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opentripplanner/middleware/models/MonitoredTripTest.java b/src/test/java/org/opentripplanner/middleware/models/MonitoredTripTest.java index 5063a6980..c4f89a60e 100644 --- a/src/test/java/org/opentripplanner/middleware/models/MonitoredTripTest.java +++ b/src/test/java/org/opentripplanner/middleware/models/MonitoredTripTest.java @@ -79,7 +79,7 @@ private static Stream createGetAddedUsersCases() { primary.userId = "primary-user-id"; MobilityProfileLite newPrimary = new MobilityProfileLite(); - primary.userId = "new-primary-user-id"; + newPrimary.userId = "new-primary-user-id"; RelatedUser companion = new RelatedUser("companion@example.com", CONFIRMED); RelatedUser newCompanion = new RelatedUser("new-companion@example.com", CONFIRMED);