Skip to content

Commit

Permalink
docs: add missing testFramework xml documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arjendev committed Nov 6, 2023
1 parent bc7e5c7 commit 8082c26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The samples seen below is the _only_ code that you need to write! The framework
var activity = pipeline.GetActivityByName("Trigger Azure Batch Job") as WebHookActivity;

_state.Parameters.Add(new RunParameter(ParameterType.Global, "BaseUrl", "https://example.com"));
_state.Parameters.Add(new RunParameter(ParameterType.Parameter, "JobId", "123"));
_state.Parameters.Add(new RunParameter(ParameterType.Pipeline, "JobId", "123"));
_state.Variables.Add(new PipelineRunVariable("JobName", "Job-123"));
_state.AddActivityResult(new TestActivityResult("Get version", new
{
Expand Down Expand Up @@ -73,8 +73,8 @@ The samples seen below is the _only_ code that you need to write! The framework
// Runs the pipeline with the provided parameters
var activities = testFramework.Evaluate(pipeline, new List<RunParameter>
{
new(ParameterType.Parameter, "JobId", "123"),
new(ParameterType.Parameter, "ContainerName", "test-container"),
new(ParameterType.Pipeline, "JobId", "123"),
new(ParameterType.Pipeline, "ContainerName", "test-container"),
new(ParameterType.Global, "BaseUrl", "https://example.com"),
});

Expand Down

0 comments on commit 8082c26

Please sign in to comment.