diff --git a/integration-tests/elytron-security-ldap/src/test/java/io/quarkus/elytron/security/ldap/it/ElytronSecurityLdapTest.java b/integration-tests/elytron-security-ldap/src/test/java/io/quarkus/elytron/security/ldap/it/ElytronSecurityLdapTest.java index 12953157c5537a..e2e107bdb26e66 100644 --- a/integration-tests/elytron-security-ldap/src/test/java/io/quarkus/elytron/security/ldap/it/ElytronSecurityLdapTest.java +++ b/integration-tests/elytron-security-ldap/src/test/java/io/quarkus/elytron/security/ldap/it/ElytronSecurityLdapTest.java @@ -2,6 +2,7 @@ import static org.hamcrest.Matchers.containsString; +import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Test; import com.unboundid.ldap.listener.InMemoryDirectoryServer; @@ -16,6 +17,7 @@ class ElytronSecurityLdapTest { InMemoryDirectoryServer ldapServer; @Test + @Order(1) void anonymous() { RestAssured.given() .when() @@ -26,6 +28,7 @@ void anonymous() { } @Test + @Order(2) void standard_role_not_authenticated() { RestAssured.given() .redirects().follow(false) @@ -36,6 +39,7 @@ void standard_role_not_authenticated() { } @Test + @Order(3) void standard_role_authenticated() { RestAssured.given() .redirects().follow(false) @@ -47,6 +51,7 @@ void standard_role_authenticated() { } @Test + @Order(4) void standard_role_not_authorized() { RestAssured.given() .redirects().follow(false) @@ -58,6 +63,7 @@ void standard_role_not_authorized() { } @Test + @Order(5) void admin_role_authorized() { RestAssured.given() .when() @@ -68,6 +74,7 @@ void admin_role_authorized() { } @Test + @Order(6) void admin_role_not_authenticated() { RestAssured.given() .redirects().follow(false) @@ -78,6 +85,7 @@ void admin_role_not_authenticated() { } @Test + @Order(7) void admin_role_not_authorized() { RestAssured.given() .redirects().follow(false) @@ -89,6 +97,7 @@ void admin_role_not_authorized() { } @Test() + @Order(8) void standard_role_authenticated_cached() throws LDAPException { RestAssured.given() .redirects().follow(false)