commit | 43b38b83a64e71e914e0ca6d5c641d0088a9ec6b | [log] [tgz] |
---|---|---|
author | dietricf <frank.dietrich@pta.de> | Tue Jun 09 16:43:01 2020 +0200 |
committer | dietricf <frank.dietrich@pta.de> | Tue Jun 09 16:43:01 2020 +0200 |
tree | fff787bd0488cb2f1fcfb0a0ae4143ad15315ae0 | |
parent | 31d97af76c7664ef9ca46660c57b7fbbc7074e28 [diff] |
SI-685 fixed Unittest
diff --git a/gfsBackendService/src/test/java/org/eclipse/openk/gridfailureinformation/service/FailureInformationStationServiceTest.java b/gfsBackendService/src/test/java/org/eclipse/openk/gridfailureinformation/service/FailureInformationStationServiceTest.java index 66e026c..ede890e 100644 --- a/gfsBackendService/src/test/java/org/eclipse/openk/gridfailureinformation/service/FailureInformationStationServiceTest.java +++ b/gfsBackendService/src/test/java/org/eclipse/openk/gridfailureinformation/service/FailureInformationStationServiceTest.java
@@ -77,7 +77,7 @@ assertEquals(stationDtoList.size(), stations.size()); assertEquals(2, stationDtoList.size()); - assertEquals(stationDtoList.get(1).getG3efid(), stations.get(1).getG3efid()); + assertEquals(1, stationDtoList.stream().filter(x->x.getG3efid().equals(stations.get(1).getG3efid())).count()); } @Test