Skip to content

Commit e62c037

Browse files
Update tests/JD.Efcpt.Build.Tests/RunSqlPackageTests.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b01d1f2 commit e62c037

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tests/JD.Efcpt.Build.Tests/RunSqlPackageTests.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,11 @@ await Given("a RunSqlPackage task", () =>
682682
var extractedPath = s.targetDir;
683683
return (s.state, extractedPath, s.targetDir);
684684
})
685-
.Then("ExtractedPath equals TargetDirectory", r => r.extractedPath == r.targetDir)
685+
.Then("ExtractedPath equals TargetDirectory", r =>
686+
{
687+
var expectedPath = Path.Combine(r.state.TempDir, "output");
688+
return r.extractedPath == expectedPath && r.targetDir == expectedPath;
689+
})
686690
.Finally(r => Cleanup(r.state))
687691
.AssertPassed();
688692
}

0 commit comments

Comments
 (0)