This commit is contained in:
Erik C. Thauvin 2020-12-01 00:57:35 -08:00
parent 549810b4bb
commit 3bd66fb1c4
2 changed files with 4 additions and 1 deletions

View file

@ -67,7 +67,7 @@ public class EntryLinkTest {
}
final SecureRandom r = new SecureRandom();
for (i = 0; entryLink.getCommentsCount() > 0; i++) {
while (entryLink.getCommentsCount() > 0) {
entryLink.deleteComment(r.nextInt(entryLink.getCommentsCount()));
}
assertThat(entryLink.hasComments()).as("hasComments()").isFalse();