Cleanup.
This commit is contained in:
parent
549810b4bb
commit
3bd66fb1c4
2 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue