Skip to content

Commit c64c902

Browse files
committed
Fix: Tests
1 parent 9ff5719 commit c64c902

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/LinkDotNet.Blog.IntegrationTests/Web/Shared/ProfileTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void ShouldRenderAllItemsSortedByOrder()
2323
SetupGetAll(repoMock, entry1, entry2);
2424
var cut = RenderProfileWithEmptyInformation();
2525

26-
var items = cut.FindAll(".profile-keypoints li");
26+
var items = cut.FindAll(".aboutme-profile-keypoints li");
2727

2828
items.Count.ShouldBe(2);
2929
items[0].TextContent.ShouldContain("key 1");
@@ -70,7 +70,7 @@ public void ShouldDeleteEntryWhenConfirmed()
7070
var (repoMock, _) = RegisterServices();
7171
SetupGetAll(repoMock, entryToDelete);
7272
var cut = RenderProfileInAdmin();
73-
cut.Find(".profile-keypoints li button").Click();
73+
cut.Find(".aboutme-profile-keypoints li button").Click();
7474

7575
cut.FindComponent<ConfirmDialog>().Find("#ok").Click();
7676

@@ -86,7 +86,7 @@ public void ShouldNotDeleteEntryWhenNotConfirmed()
8686
var (repoMock, _) = RegisterServices();
8787
SetupGetAll(repoMock, entryToDelete);
8888
var cut = RenderProfileInAdmin();
89-
cut.Find(".profile-keypoints li button").Click();
89+
cut.Find(".aboutme-profile-keypoints li button").Click();
9090

9191
cut.FindComponent<ConfirmDialog>().Find("#cancel").Click();
9292

0 commit comments

Comments
 (0)