From 1128e922ca57269ae5e796bcc08585dfe673e5b4 Mon Sep 17 00:00:00 2001 From: Cato Olsen Date: Fri, 20 Dec 2024 11:46:42 +0100 Subject: [PATCH] Test cleanup. --- .../endringsmeldingfrontend/ApplicationContextTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/endringsmelding-frontend/src/test/java/no/nav/testnav/apps/endringsmeldingfrontend/ApplicationContextTest.java b/apps/endringsmelding-frontend/src/test/java/no/nav/testnav/apps/endringsmeldingfrontend/ApplicationContextTest.java index a36f833f2bc..ed254dcdb34 100644 --- a/apps/endringsmelding-frontend/src/test/java/no/nav/testnav/apps/endringsmeldingfrontend/ApplicationContextTest.java +++ b/apps/endringsmelding-frontend/src/test/java/no/nav/testnav/apps/endringsmeldingfrontend/ApplicationContextTest.java @@ -6,15 +6,19 @@ import org.springframework.security.oauth2.jwt.JwtDecoder; import org.springframework.test.context.ActiveProfiles; +import static org.assertj.core.api.AssertionsForClassTypes.assertThat; + @SpringBootTest @ActiveProfiles("test") class ApplicationContextTest { @MockBean - public JwtDecoder jwtDecoder; + @SuppressWarnings("unused") + private JwtDecoder jwtDecoder; @Test @SuppressWarnings("java:S2699") void load_app_context() { + assertThat(true).isTrue(); } }