Skip to content

Commit

Permalink
- Added missing AZURE_OPENID_CONFIG_TOKEN_ENDPOINT test profile config.
Browse files Browse the repository at this point in the history
- Removed mock of JwtDecoder.
  • Loading branch information
rfc3092 committed Jan 9, 2025
1 parent 73ebba6 commit 929f910
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.security.oauth2.jwt.JwtDecoder;
import org.springframework.test.context.ActiveProfiles;

import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
Expand All @@ -12,10 +10,6 @@
@ActiveProfiles("test")
class ApplicationContextTest {

@MockBean
@SuppressWarnings("unused")
private JwtDecoder jwtDecoder;

@Test
void load_app_context() {
assertThat(true).isTrue();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
AZURE_OPENID_CONFIG_ISSUER: http://localhost/placeholder
AZURE_OPENID_CONFIG_TOKEN_ENDPOINT: http://localhost/placeholder
TOKEN_X_ISSUER: dummy

0 comments on commit 929f910

Please sign in to comment.