Skip to content

Commit 0643939

Browse files
committed
fix: Test
1 parent 2c5a1b7 commit 0643939

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/LinkDotNet.Blog.IntegrationTests/Web/Features/ShowBlogPost/ShowBlogPostPageTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ public void ShouldShowErrorPageWhenBlogPostNotFound()
115115

116116
var cut = ctx.Render<ShowBlogPostPage>();
117117

118-
cut.FindAll(".blogpost-content").ShouldBeEmpty();
119-
cut.FindAll("#no-blog-post-error").ShouldHaveSingleItem();
118+
cut.HasComponent<ObjectNotFound>().ShouldBeTrue();
120119
}
121120

122121
[Fact]

0 commit comments

Comments
 (0)