Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 0314f4e

Browse files
add delay to unit test (#1117)
Co-authored-by: tracyboehrer <tracyboehrer@users.noreply.github.com>
1 parent 45130e6 commit 0314f4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/bot-builder/src/test/java/com/microsoft/bot/builder/TranscriptMiddlewareTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ public final void Transcript_LogActivities() {
6565
context.sendActivity("echo:" + context.getActivity().getText()).join();
6666
return CompletableFuture.completedFuture(null);
6767
}
68-
).send("foo").assertReply(
68+
).send("foo").delay(50).assertReply(
6969
(activity) -> Assert.assertEquals(activity.getType(), ActivityTypes.TYPING)
70-
).assertReply("echo:foo").send("bar").assertReply(
70+
).assertReply("echo:foo").send("bar").delay(50).assertReply(
7171
(activity) -> Assert.assertEquals(activity.getType(), ActivityTypes.TYPING)
7272
).assertReply("echo:bar").startTest().join();
7373

0 commit comments

Comments
 (0)