From 22a677f6ade6b008461939dcf28c5f94be8982f8 Mon Sep 17 00:00:00 2001 From: Phong Date: Fri, 24 Apr 2020 09:38:41 +0700 Subject: [PATCH] fix count() in feedback --- .../service/feedback/FeedbackServiceTest_3_4_5.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/java/capstone/lip/landinformationportal/service/feedback/FeedbackServiceTest_3_4_5.java b/src/test/java/capstone/lip/landinformationportal/service/feedback/FeedbackServiceTest_3_4_5.java index 3cb5d238..962ff64b 100644 --- a/src/test/java/capstone/lip/landinformationportal/service/feedback/FeedbackServiceTest_3_4_5.java +++ b/src/test/java/capstone/lip/landinformationportal/service/feedback/FeedbackServiceTest_3_4_5.java @@ -92,7 +92,7 @@ public void FT_FS_4_01() { long result = instance.countByFeedbackStatus("INVALID"); //TEST FAIL - assertEquals(0, result); + testFail(result); } /** @@ -118,7 +118,7 @@ public void FT_FS_4_03() { long result = instance.countByFeedbackStatus(EMPTY_STRING); //TEST FAIL - assertEquals(0, result); + testFail(result); } /** @@ -131,7 +131,7 @@ public void FT_FS_4_04() { long result = instance.countByFeedbackStatus(NULL_STRING); //TEST FAIL - assertEquals(0, result); + testFail(result); } /**