Skip to content

Commit a783808

Browse files
committed
Fix incorrect tag asisgned while saving script files for test cases
While saving data files for test cases, fixtureId is set as tag instead of testcaseId. As a result of this, files are missing while downloading later using tag for test case. This is fixed now.
1 parent 887ba1c commit a783808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pixel.Persistence.Services.Client/DataManagers/ProjectDataManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ public async Task SaveTestDataAsync(TestCase testCase)
616616
await AddDataFileAsync(testCaseFiles.ProcessFile, testCase.TestCaseId);
617617
foreach (var scriptFile in Directory.EnumerateFiles(testCaseFiles.TestDirectory, "*.csx"))
618618
{
619-
await AddDataFileAsync(scriptFile, testCase.FixtureId);
619+
await AddDataFileAsync(scriptFile, testCase.TestCaseId);
620620
}
621621
}
622622
logger.Information("Saved data files for test case : '{0}' for version : '{1}' of automation project : '{2}'.", testCase.DisplayName, projectVersion, automationProject.Name);

0 commit comments

Comments
 (0)