Skip to content

Commit dca94df

Browse files
committed
Renamed stored definition test file to be more descriptive.
1 parent 370fa1b commit dca94df

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/WorkflowCore.TestAssets/Utils.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ public static string GetTestDefinitionDynamicJson()
3333
return File.ReadAllText("stored-dynamic-definition.json");
3434
}
3535

36-
public static string GetTestDefinitionJsonInputExc()
36+
public static string GetTestDefinitionJsonMissingInputProperty()
3737
{
38-
return File.ReadAllText("stored-definition-input-exc.json");
38+
return File.ReadAllText("stored-def-missing-input-property.json");
3939
}
4040
}
4141
}

test/WorkflowCore.TestAssets/WorkflowCore.TestAssets.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<EmbeddedResource Include="stored-definition.json">
2626
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2727
</EmbeddedResource>
28-
<EmbeddedResource Include="stored-definition-input-exc.json">
28+
<EmbeddedResource Include="stored-def-missing-input-property.json">
2929
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
3030
</EmbeddedResource>
3131
</ItemGroup>
File renamed without changes.

test/WorkflowCore.UnitTests/Services/DefinitionStorage/DefinitionLoaderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void ParseDefinitionDynamic()
6262
[Fact(DisplayName = "Should throw error for bad input property name on step")]
6363
public void ParseDefinitionInputException()
6464
{
65-
Assert.Throws<ArgumentException>(() => _subject.LoadDefinition(TestAssets.Utils.GetTestDefinitionJsonInputExc(), Deserializers.Json));
65+
Assert.Throws<ArgumentException>(() => _subject.LoadDefinition(TestAssets.Utils.GetTestDefinitionJsonMissingInputProperty(), Deserializers.Json));
6666
}
6767

6868
private bool MatchTestDefinition(WorkflowDefinition def)

0 commit comments

Comments
 (0)