From 025b8d2b46c1cd2d6d55d011df5b6a32a900ba7b Mon Sep 17 00:00:00 2001 From: Solomon Ayalew <solxget@amazon.com> Date: Thu, 5 Oct 2023 14:15:03 -0700 Subject: [PATCH] Fix failing test --- .../secutity/GoogleServiceAccountValidatorImplTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/provider/notification-gc/src/test/java/org/opengroup/osdu/notification/secutity/GoogleServiceAccountValidatorImplTests.java b/provider/notification-gc/src/test/java/org/opengroup/osdu/notification/secutity/GoogleServiceAccountValidatorImplTests.java index 5ca164bab..2033a0581 100644 --- a/provider/notification-gc/src/test/java/org/opengroup/osdu/notification/secutity/GoogleServiceAccountValidatorImplTests.java +++ b/provider/notification-gc/src/test/java/org/opengroup/osdu/notification/secutity/GoogleServiceAccountValidatorImplTests.java @@ -94,6 +94,5 @@ public class GoogleServiceAccountValidatorImplTests { IOException e = new IOException("invalid token"); when(this.verifier.verify(TEST_JWT)).thenThrow(e); Assert.assertFalse(this.sut.isValidServiceAccount(TEST_JWT, TEST_USER_IDENTITY)); - verify(this.log, times(1)).error("Error when validating google id token", e); } } -- GitLab