From 1692a54588b4127bd5d4eddc7825420508fdf363 Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 5 Jan 2022 10:02:10 +0100 Subject: [PATCH] try fix integration test for Java 8 --- .../seb/sebserver/gui/integration/UseCasesIntegrationTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/ch/ethz/seb/sebserver/gui/integration/UseCasesIntegrationTest.java b/src/test/java/ch/ethz/seb/sebserver/gui/integration/UseCasesIntegrationTest.java index c81c51ba..143ee0f7 100644 --- a/src/test/java/ch/ethz/seb/sebserver/gui/integration/UseCasesIntegrationTest.java +++ b/src/test/java/ch/ethz/seb/sebserver/gui/integration/UseCasesIntegrationTest.java @@ -2148,6 +2148,7 @@ public class UseCasesIntegrationTest extends GuiIntegrationTest { assertNotNull(conData); assertEquals(exam.id, conData.clientConnection.examId); assertFalse(conData.indicatorValues.isEmpty()); + assertTrue(conData.indicatorValues.size() == 2); final IndicatorValue indicatorValue = conData.indicatorValues.get(0); assertEquals("1", String.valueOf(indicatorValue.getIndicatorId())); // LAST_PING indicator