Skip to content

Commit

Permalink
'setup/teardown'
Browse files Browse the repository at this point in the history
  • Loading branch information
eebbesen committed Dec 19, 2024
1 parent b963d24 commit 3edb9b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions StpFoodBlazor/StpFoodBlazorTest/Pages/DealsTest.razor
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
ctx.Services.AddSingleton<ITimeService>(timeService);
}

@* public void Dispose(){
public void Dispose(){

Check warning on line 21 in StpFoodBlazor/StpFoodBlazorTest/Pages/DealsTest.razor

View workflow job for this annotation

GitHub Actions / build

Public method 'Dispose' on test class 'DealsTest' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)

Check warning on line 21 in StpFoodBlazor/StpFoodBlazorTest/Pages/DealsTest.razor

View workflow job for this annotation

GitHub Actions / build

Public method 'Dispose' on test class 'DealsTest' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
// so that TestDealService attributes are reset
} *@
}

[Fact]
public void DealsShouldDisplayPlaceholderWhenLoading()
Expand Down

0 comments on commit 3edb9b1

Please sign in to comment.