Skip to content

Commit ac9daad

Browse files
authored
Merge pull request #7 from navtech-io/develop
Fix unit test issue
2 parents b89876f + 7a3e00e commit ac9daad

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)