From babddc6b03933118028e877d77315f08177efb54 Mon Sep 17 00:00:00 2001 From: Martin Reinhardt Date: Fri, 10 Jan 2025 12:48:41 +0100 Subject: [PATCH] chore: Tweak junit report --- .github/workflows/build.yml | 5 +++++ .../net/cst/keycloak/audit/model/ConfigConstantsTest.java | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b75dec1..c8532731 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,11 @@ jobs: uses: mikepenz/action-junit-report@v5 if: success() || failure() # always run even if the previous step fails with: + summary: true + detailed_summary: true + annotate_notice: true + annotate_only: true + truncate_stack_traces: false report_paths: '**/target/*-reports/TEST-*.xml' - name: Upload coverage to Codecov diff --git a/spi/src/test/java/net/cst/keycloak/audit/model/ConfigConstantsTest.java b/spi/src/test/java/net/cst/keycloak/audit/model/ConfigConstantsTest.java index cb4aba2d..23ec6a3c 100644 --- a/spi/src/test/java/net/cst/keycloak/audit/model/ConfigConstantsTest.java +++ b/spi/src/test/java/net/cst/keycloak/audit/model/ConfigConstantsTest.java @@ -25,6 +25,6 @@ void testDefaultValueForRoleCheck() { @Test void testDefaultValueForRolename() { String roleName = ConfigHelper.getConfigValue(ConfigConstants.DEFAULT_ROLE); - assertEquals("admin", roleName); + assertEquals("admin2", roleName); } }