Skip to content

Commit 1642945

Browse files
authored
Merge pull request #51 from ElanHasson/fix-case-sensitive-tests
Use correct casing for `workflows` directory for tests.
2 parents 4c82334 + 982b91c commit 1642945

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ServerlessWorkflow.Sdk.UnitTests/Cases/IO/WorkflowReaderTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class WorkflowReaderTests
2424
public async Task Read_Yaml_ShouldWork()
2525
{
2626
//arrange
27-
var yaml = File.ReadAllText(Path.Combine("Resources", "Workflows", "operation.yaml"));
27+
var yaml = File.ReadAllText(Path.Combine("Resources", "workflows", "operation.yaml"));
2828

2929
//act
3030
var parsedWorkflow = await this.Reader.ParseAsync(yaml);
@@ -54,7 +54,7 @@ public async Task Read_Yaml_ShouldWork()
5454
public async Task Read_Json_ShouldWork()
5555
{
5656
//arrange
57-
var yaml = File.ReadAllText(Path.Combine("Resources", "Workflows", "operation.json"));
57+
var yaml = File.ReadAllText(Path.Combine("Resources", "workflows", "operation.json"));
5858

5959
//act
6060
var parsedWorkflow = await this.Reader.ParseAsync(yaml);
@@ -84,7 +84,7 @@ public async Task Read_Json_ShouldWork()
8484
public async Task Read_Yaml_ExternalDefinitions_ShouldWork()
8585
{
8686
//arrange
87-
var yaml = File.ReadAllText(Path.Combine("Resources", "Workflows", "externalref.yaml"));
87+
var yaml = File.ReadAllText(Path.Combine("Resources", "workflows", "externalref.yaml"));
8888

8989
//act
9090
var workflow = await this.Reader.ParseAsync(yaml);
@@ -117,7 +117,7 @@ public async Task Read_Yaml_ExternalDefinitions_ShouldWork()
117117
public async Task Read_Json_ExternalDefinitions_ShouldWork()
118118
{
119119
//arrange
120-
var yaml = File.ReadAllText(Path.Combine("Resources", "Workflows", "externalref.json"));
120+
var yaml = File.ReadAllText(Path.Combine("Resources", "workflows", "externalref.json"));
121121

122122
//act
123123
var workflow = await this.Reader.ParseAsync(yaml, new WorkflowReaderOptions() { LoadExternalDefinitions = true });

0 commit comments

Comments
 (0)