Skip to content

Commit d573062

Browse files
committed
Fixed tests
1 parent c48c915 commit d573062

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

tests/LinkDotNet.Blog.IntegrationTests/Web/Features/Admin/BlogPostEditor/CreateNewBlogPostPageTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public async Task ShouldSaveBlogPostOnSave()
3333
var blogPostFromDb = await DbContext.BlogPosts.SingleOrDefaultAsync(t => t.Title == "My Title");
3434
blogPostFromDb.Should().NotBeNull();
3535
blogPostFromDb.ShortDescription.Should().Be("My short Description");
36-
toastService.Verify(t => t.ShowInfo("Created BlogPost My Title", string.Empty, null), Times.Once);
36+
toastService.Verify(t => t.ShowInfo("Created BlogPost My Title", null), Times.Once);
3737
}
3838

3939
[Fact]

tests/LinkDotNet.Blog.IntegrationTests/Web/Features/Admin/BlogPostEditor/UpdateBlogPostPageTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public async Task ShouldSaveBlogPostOnSave()
3333
var blogPostFromDb = await DbContext.BlogPosts.SingleOrDefaultAsync(t => t.Id == blogPost.Id);
3434
blogPostFromDb.Should().NotBeNull();
3535
blogPostFromDb.ShortDescription.Should().Be("My new Description");
36-
toastService.Verify(t => t.ShowInfo("Updated BlogPost Title", string.Empty, null), Times.Once);
36+
toastService.Verify(t => t.ShowInfo("Updated BlogPost Title", null), Times.Once);
3737
}
3838

3939
[Fact]

tests/LinkDotNet.Blog.UnitTests/Web/Features/AboutMe/Components/AddSkillDialogTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public void ShouldCreateSkill()
2929
addedSkill.ProficiencyLevel.Should().Be(ProficiencyLevel.Expert);
3030
toastServiceMock.Verify(t => t.ShowSuccess(
3131
"Created Skill C# in capability capability with level Expert",
32-
string.Empty,
3332
null));
3433
}
3534
}

0 commit comments

Comments
 (0)