Skip to content

Commit

Permalink
Refactor API projects test to avoid leaving created projects in accou…
Browse files Browse the repository at this point in the history
…nt (#7773)
  • Loading branch information
jhonabreul authored Feb 8, 2024
1 parent 76a0bdd commit 48ce5ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/Api/ProjectTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,10 @@ public void ReadBacktestOrders()
// Delete the backtest we just created
var deleteBacktest = ApiClient.DeleteBacktest(project.ProjectId, backtest.BacktestId);
Assert.IsTrue(deleteBacktest.Success);

// Delete the project we just created
var deleteProject = ApiClient.DeleteProject(project.ProjectId);
Assert.IsTrue(deleteProject.Success);
}

[Test]
Expand Down

0 comments on commit 48ce5ef

Please sign in to comment.