From 5a65f15a0c4def41e36431fc76cffffc6ec28c2c Mon Sep 17 00:00:00 2001 From: Dario Date: Sun, 28 Apr 2024 22:40:19 +0200 Subject: [PATCH] test: fixed tests --- .../lab/en2b/quizapi/statistics/StatisticsServiceTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/test/java/lab/en2b/quizapi/statistics/StatisticsServiceTest.java b/api/src/test/java/lab/en2b/quizapi/statistics/StatisticsServiceTest.java index 7b5fd7d1..78689bb0 100644 --- a/api/src/test/java/lab/en2b/quizapi/statistics/StatisticsServiceTest.java +++ b/api/src/test/java/lab/en2b/quizapi/statistics/StatisticsServiceTest.java @@ -87,7 +87,7 @@ public void setUp(){ .wrong(5L) .total(10L) .percentage(50L) - .points(500L) + .points(250L) .user(defaultUserResponseDto) .finishedGames(1L) .build(); @@ -106,7 +106,7 @@ public void setUp(){ .right(7L) .wrong(3L) .total(10L) - .points(700L) + .points(490L) .percentage(70L) .user(defaultUserResponseDto) .finishedGames(1L) @@ -175,7 +175,7 @@ public void getTopTenStatisticsTestWhenThereAreNotTenAndAreEqual(){ .right(5L) .wrong(5L) .total(10L) - .points(500L) + .points(250L) .percentage(50L) .user(defaultUserResponseDto) .finishedGames(1L)