Skip to content

Commit

Permalink
GSAGH-478 fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tlmnrnhrdt committed May 14, 2024
1 parent d5fc850 commit 4e94663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
namespace GsaGHTests.Components.Analysis {
[Collection("GrasshopperFixture collection")]
public class AnalysisTaskInfoTests {

public static GH_OasysComponent ComponentMother() {
var comp = new AnalysisTaskInfo();
comp.CreateAttributes();
Expand Down
4 changes: 2 additions & 2 deletions GsaGHTests/3_Components/4_Analysis/CreateAnalysisTaskTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ public class CreateAnalysisTaskTests {
var comp = new CreateAnalysisTask();
comp.CreateAttributes();

ComponentTestHelper.SetInput(comp, "my Task", 0);
ComponentTestHelper.SetInput(comp, "my Task", 1);
var output = (GsaAnalysisCaseGoo)ComponentTestHelper.GetOutput(
CreateAnalysisCaseTests.ComponentMother());
ComponentTestHelper.SetInput(comp, output, 1);
ComponentTestHelper.SetInput(comp, output, 2);

return comp;
}
Expand Down

0 comments on commit 4e94663

Please sign in to comment.