From b2677be5d4c6bbbc25b78927be04cbeefe5356c1 Mon Sep 17 00:00:00 2001 From: GeorgeC Date: Tue, 28 Jan 2025 15:06:57 -0500 Subject: [PATCH] Remove unused variable in RASAuthenticationServiceTest --- .../impl/authentication/RASAuthenticationServiceTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/pic-sure-auth-services/src/test/java/edu/harvard/hms/dbmi/avillach/auth/service/impl/authentication/RASAuthenticationServiceTest.java b/pic-sure-auth-services/src/test/java/edu/harvard/hms/dbmi/avillach/auth/service/impl/authentication/RASAuthenticationServiceTest.java index 90fef8b4..b6b90423 100644 --- a/pic-sure-auth-services/src/test/java/edu/harvard/hms/dbmi/avillach/auth/service/impl/authentication/RASAuthenticationServiceTest.java +++ b/pic-sure-auth-services/src/test/java/edu/harvard/hms/dbmi/avillach/auth/service/impl/authentication/RASAuthenticationServiceTest.java @@ -114,7 +114,6 @@ public void testUpdateUserRoles_withEmptyDBGapPermissions() throws JsonProcessin String introspectionResponse = "{\"active\":true,\"sub\":\"example_email@test.com\",\"client_id\":\"test_client_id\",\"passport_jwt_v11\":\""+ exampleRasPassport +"\"}"; JsonNode introspectionResponseParsed = new ObjectMapper().readTree(introspectionResponse); - String code = "AlphaNumericCode"; User user = createTestUser(); Optional passport = this.rasPassPortService.extractPassport(introspectionResponseParsed); assertTrue(passport.isPresent());