Skip to content
Snippets Groups Projects
Commit f4b3ddc9 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Disable broken test

SessionServiceTest.testShouldDeleteAllSessionData fails when run on
JDK 8.
parent 470b0601
No related merge requests found
......@@ -23,6 +23,7 @@ import de.thm.arsnova.entities.Session;
import de.thm.arsnova.exceptions.NotFoundException;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.aop.framework.Advised;
......@@ -154,7 +155,9 @@ public class SessionServiceTest {
}
@Test
@Ignore("Test fails on JDK 8 (ClassCastException)")
public void testShouldDeleteAllSessionData() {
/* FIXME: fails with ClassCastException on JDK 8 */
final IDatabaseDao tempDatabase = (IDatabaseDao) ReflectionTestUtils.getField(getTargetObject(sessionService), "databaseDao");
try {
setAuthenticated(true, "ptsr00");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment