KEYCLOAK-13852 reset time at the end of testTokenConcurrentRefresh test

This commit is contained in:
mhajas 2020-04-20 14:39:50 +02:00 committed by Stian Thorgersen
parent 83255e1b08
commit 1db87acc98

View file

@ -794,7 +794,6 @@ public class DemoServletsAdapterTest extends AbstractServletsAdapterTest {
testRealmLoginPage.form().login("bburke@redhat.com", "password");
assertCurrentUrlEquals(tokenRefreshPage);
// Revert times
setAdapterAndServerTimeOffset(5, tokenRefreshPage.toString());
BasicCookieStore cookieStore = new BasicCookieStore();
@ -826,6 +825,9 @@ public class DemoServletsAdapterTest extends AbstractServletsAdapterTest {
} finally {
executor.shutdownNow();
}
// Revert times
setAdapterAndServerTimeOffset(0, tokenRefreshPage.toString());
}
// Tests forwarding of parameters like "prompt"