Closes #2262 - Fixed Flaky Test in CreateTaskAccTest
This commit is contained in:
parent
0091fa7027
commit
3ee90248b5
|
@ -332,12 +332,11 @@ class CreateTaskAccTest {
|
|||
Instant earlierInstant = Instant.parse("2018-01-12T00:00:00Z");
|
||||
Instant laterInstant = Instant.parse("2018-01-15T00:00:00Z");
|
||||
Task task = createDefaultTask();
|
||||
|
||||
Attachment attachment =
|
||||
TaskAttachmentBuilder.newAttachment()
|
||||
.objectReference(defaultObjectReference)
|
||||
.classificationSummary(defaultClassificationSummary)
|
||||
.created(Instant.now())
|
||||
.modified(Instant.now())
|
||||
.received(laterInstant)
|
||||
.channel("E-MAIL")
|
||||
.build();
|
||||
|
@ -345,8 +344,6 @@ class CreateTaskAccTest {
|
|||
TaskAttachmentBuilder.newAttachment()
|
||||
.objectReference(defaultObjectReference)
|
||||
.classificationSummary(defaultClassificationSummary)
|
||||
.created(Instant.now())
|
||||
.modified(Instant.now())
|
||||
.received(earlierInstant)
|
||||
.channel("E-MAIL")
|
||||
.build();
|
||||
|
|
Loading…
Reference in New Issue