Skip to content

Commit

Permalink
fix: Test
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Nov 24, 2024
1 parent 2c5a1b7 commit 0643939
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ public void ShouldShowErrorPageWhenBlogPostNotFound()

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

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

[Fact]
Expand Down

0 comments on commit 0643939

Please sign in to comment.