Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ExpensesTracker/Server/Controllers/GoalController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public async Task<ActionResult<List<Goal>>> DeleteGoal(int id)
await _goals.DeleteGoalAsync(dbGoal.Value);

return Ok(await GetFilteredGoals());


}

async Task<List<Goal>> GetFilteredGoals()
Expand Down
2 changes: 1 addition & 1 deletion ExpensesTrackerTests/UnitTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public void TestMethod1()
{
Assert.AreEqual(1, 1);

// Assert.AreEqual(1, 2); uncomment to fail tests
Assert.AreEqual(1, 2);
}
}
}