From 09860f1ee190db6a43cd0e5521a2259550869509 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 9 Sep 2014 11:01:11 +0200 Subject: [PATCH] Fix test --- .../java/org/keycloak/testsuite/oauth/RefreshTokenTest.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/RefreshTokenTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/RefreshTokenTest.java index 447ca753f2..924eae44fe 100755 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/RefreshTokenTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/oauth/RefreshTokenTest.java @@ -241,10 +241,7 @@ public class RefreshTokenTest { session.getTransaction().commit(); session.close(); - // should not update last refresh because the access token interval is way less than idle timeout - Assert.assertEquals(last, next); - - + Assert.assertNotEquals(last, next); session = keycloakRule.startSession(); realm = session.realms().getRealmByName("test");