Skip to content

Commit 308913e

Browse files
committed
Add E2E test
1 parent c3b24e9 commit 308913e

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

test/E2E/AzureFunctions.PowerShell.Durable.SDK.E2E/OrchestrationTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ await ValidateDurableWorkflowResults(
7272
Assert.Equal("True", finalStatusResponseBody.output[0].ToString());
7373
Assert.Equal("Hello myInstanceId", finalStatusResponseBody.output[1].ToString());
7474
Assert.Equal("False", finalStatusResponseBody.output[2].ToString());
75+
Assert.Equal("1.0", finalStatusResponseBody.output[3].ToString());
7576
});
7677
}
7778
}

test/E2E/durableApp/DurableOrchestratorAccessContextProps/run.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ $output = @()
55
$output += $Context.IsReplaying
66
$output += Invoke-DurableActivity -FunctionName 'Hello' -Input $Context.InstanceId
77
$output += $Context.IsReplaying
8+
$output += $Context.Version
89
$output

test/E2E/durableApp/host.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@
1010
},
1111
"managedDependency": {
1212
"enabled": true
13+
},
14+
"extensions": {
15+
"durableTask": {
16+
"defaultVersion": "1.0"
17+
}
1318
}
1419
}

0 commit comments

Comments
 (0)