From 861e9d2ccbfe7e06a72979851840bf9ad716faab Mon Sep 17 00:00:00 2001 From: Sallo Szrajbman Date: Sun, 21 Feb 2021 13:21:54 +0000 Subject: [PATCH] No need to include @Test The reason of the test being shown twice is because we have the @RepeatedTest and @Test annotation. --- .../guru/springframework/sfgpetclinic/model/PersonTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/java/guru/springframework/sfgpetclinic/model/PersonTest.java b/src/test/java/guru/springframework/sfgpetclinic/model/PersonTest.java index 7999180f..ac7916ca 100644 --- a/src/test/java/guru/springframework/sfgpetclinic/model/PersonTest.java +++ b/src/test/java/guru/springframework/sfgpetclinic/model/PersonTest.java @@ -34,8 +34,7 @@ void groupedAssertionMsgs() { @RepeatedTest(value = 10, name = "{displayName} : {currentRepetition} - {totalRepetitions}") @DisplayName("My Repeated Test") - @Test void myRepeatedTest() { //todo - impl } -} \ No newline at end of file +}