Skip to content

Commit 7a3e00e

Browse files
author
Rajesh Jinaga
committed
Fix unit test issue
1 parent 7c1e616 commit 7a3e00e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Simpleflow.Tests/SimpleflowTry.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public void Try3()
5656
{
5757
// Arrange
5858
var flowScript =
59-
@"
59+
@$"
6060
/* Declare and initialize variables */
6161
let userId = none
62-
let currentDate = $GetCurrentDateTime ( timezone: ""Eastern Standard Time"" )
62+
let currentDate = $GetCurrentDateTime ( timezone: ""{TestsHelper.Timezone}"" )
6363
6464
/* Define Rules */
6565
rule when arg.Name == """" or arg.Name == none then
@@ -82,7 +82,7 @@ rule when context.HasErrors then
8282
end rule
8383
8484
/* Set current date time */
85-
partial set arg = { RegistrationDate: currentDate, IsActive: true }
85+
partial set arg = {{ RegistrationDate: currentDate, IsActive: true }}
8686
8787
";
8888

0 commit comments

Comments
 (0)