From 6bcd72f7f27b8efdaf0b9e7050f2a42916d8cc23 Mon Sep 17 00:00:00 2001 From: Vaclav Muzikar Date: Tue, 17 May 2016 13:10:38 +0200 Subject: [PATCH] KEYCLOAK-3011 Fix WelcomePageTest --- .../testsuite/console/pages/WelcomePageTest.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/testsuite/integration-arquillian/tests/other/console_no_users/src/test/java/org/keycloak/testsuite/console/pages/WelcomePageTest.java b/testsuite/integration-arquillian/tests/other/console_no_users/src/test/java/org/keycloak/testsuite/console/pages/WelcomePageTest.java index 1051bb11cb..04332e82f5 100644 --- a/testsuite/integration-arquillian/tests/other/console_no_users/src/test/java/org/keycloak/testsuite/console/pages/WelcomePageTest.java +++ b/testsuite/integration-arquillian/tests/other/console_no_users/src/test/java/org/keycloak/testsuite/console/pages/WelcomePageTest.java @@ -7,10 +7,7 @@ import java.util.Collections; import java.util.Enumeration; import java.util.List; import org.jboss.arquillian.graphene.page.Page; -import org.junit.Assert; -import org.junit.Before; -import org.junit.FixMethodOrder; -import org.junit.Test; +import org.junit.*; import org.junit.runners.MethodSorters; import org.keycloak.representations.idm.RealmRepresentation; import org.keycloak.testsuite.AbstractKeycloakTest; @@ -45,6 +42,12 @@ public class WelcomePageTest extends AbstractKeycloakTest { driverSettings(); } + @After + @Override + public void afterAbstractKeycloakTest() { + // no need for this either + } + /** * Attempt to resolve the floating IP address. This is where EAP/WildFly * will be accessible. See "-Djboss.bind.address=0.0.0.0".