Skip to content

Commit 13b9530

Browse files
Fix broken test after removal of default category
1 parent ccfa966 commit 13b9530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JournalApp.Tests/ManageCategoriesTests.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
);
8686

8787
// Initial state.
88-
layout.FindAll(".manage-category-edit-button").Count.Should().Be(13);
88+
layout.FindAll(".manage-category-edit-button").Count.Should().Be(12);
8989

9090
// Open the dialog to create a new category.
9191
layout.Find(".add-category-button").Click();
@@ -96,7 +96,7 @@
9696

9797
// Submit changes and confirm there is a new category in the list.
9898
layout.Find(".category-dialog .submit-button").Click();
99-
layout.FindAll(".manage-category-edit-button").Count.Should().Be(14);
99+
layout.FindAll(".manage-category-edit-button").Count.Should().Be(13);
100100
}
101101

102102
[Fact]

0 commit comments

Comments
 (0)