diff --git a/src/test/java/ch/admin/bag/covidcertificate/web/controller/LightCertificateControllerSecurityTest.java b/src/test/java/ch/admin/bag/covidcertificate/web/controller/LightCertificateControllerSecurityTest.java index 6862b4d..f84f6ab 100644 --- a/src/test/java/ch/admin/bag/covidcertificate/web/controller/LightCertificateControllerSecurityTest.java +++ b/src/test/java/ch/admin/bag/covidcertificate/web/controller/LightCertificateControllerSecurityTest.java @@ -57,7 +57,7 @@ class LightCertificateControllerSecurityTest { private static final JFixture fixture = new JFixture(); private static final String URL = "/api/v1/certificate-light/generate"; - private static final String VALID_USER_ROLE = "bag-cc-certificatecreator"; + private static final String VALID_USER_ROLE = "bag-cc-light-cert-creator"; private static final String INVALID_USER_ROLE = "invalid-role"; // Avoid port 8180, which is likely used by the local KeyCloak: private static final int MOCK_SERVER_PORT = 8182;