diff --git a/Plan/common/src/test/java/com/djrapitops/plan/db/access/transactions/events/PingMedianTest.java b/Plan/common/src/test/java/com/djrapitops/plan/db/access/transactions/events/PingMedianTest.java index 9e9b13101..40651281d 100644 --- a/Plan/common/src/test/java/com/djrapitops/plan/db/access/transactions/events/PingMedianTest.java +++ b/Plan/common/src/test/java/com/djrapitops/plan/db/access/transactions/events/PingMedianTest.java @@ -54,7 +54,7 @@ public class PingMedianTest { List collect = testPing.stream().map(DateObj::getValue).sorted().collect(Collectors.toList()); int expected = (int) Median.forList(collect).calculate(); - int result = new PingStoreTransaction(TestConstants.PLAYER_ONE_UUID, TestConstants.SERVER_UUID, new ArrayList<>()) + int result = new PingStoreTransaction(TestConstants.PLAYER_ONE_UUID, TestConstants.SERVER_UUID, testPing) .getMeanValue(); assertEquals(expected, result);