From 901c94b5033eb9eafdda5f7f5d517af67329d588 Mon Sep 17 00:00:00 2001 From: binh-dam-ibigroup <56846598+binh-dam-ibigroup@users.noreply.github.com> Date: Wed, 15 Nov 2023 15:35:46 -0500 Subject: [PATCH] test(OtpUserController): Assert the correct value for smsConsentDate. --- .../middleware/controllers/api/OtpUserControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opentripplanner/middleware/controllers/api/OtpUserControllerTest.java b/src/test/java/org/opentripplanner/middleware/controllers/api/OtpUserControllerTest.java index 744a9cefc..9912ef7b6 100644 --- a/src/test/java/org/opentripplanner/middleware/controllers/api/OtpUserControllerTest.java +++ b/src/test/java/org/opentripplanner/middleware/controllers/api/OtpUserControllerTest.java @@ -134,6 +134,6 @@ void canPreserveSmsConsentDate() throws Exception { ); OtpUser updatedUser = Persistence.otpUsers.getById(otpUser.id); - Assertions.assertEquals(u.smsConsentDate, updatedUser.smsConsentDate); + Assertions.assertEquals(otpUser.smsConsentDate, updatedUser.smsConsentDate); } }