Skip to content

Commit

Permalink
test: hardcode year in test for forward compatibility (#3255)
Browse files Browse the repository at this point in the history
  • Loading branch information
luhan2017 authored Jun 1, 2020
1 parent 46931ce commit 16c10de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/dotnet/tests/InputsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ await BuildTestFlow()
.Send(CreateConversationUpdateActivity())
.AssertReply(String.Format("Welcome to Input Sample Bot.{0}I can show you examples on how to use actions, You can enter number 01-07{0}01 - TextInput{0}02 - NumberInput{0}03 - ConfirmInput{0}04 - ChoiceInput{0}05 - AttachmentInput{0}06 - DateTimeInput{0}07 - OAuthInput{0}", Environment.NewLine)).Send("06")
.AssertReply("Please enter a date.")
.Send("June 1st")
.Send("June 1st 2019")
.AssertReply("You entered: 2019-06-01")
.StartTestAsync();
}
Expand Down

0 comments on commit 16c10de

Please sign in to comment.