Skip to content

Commit

Permalink
Fix breaking changes in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Aug 28, 2021
1 parent f0a4410 commit 524d0a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DiscordChatExporter.Cli.Tests/EmbedSpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public async Task Message_with_a_Spotify_track_is_rendered_using_an_iframe_in_HT
// Assert
iframeHtml.Should().NotBeNull();
iframeHtml?.GetAttribute("src").Should()
.StartWithEquivalent("https://open.spotify.com/embed/track/1LHZMWefF9502NPfArRfvP");
.StartWithEquivalentOf("https://open.spotify.com/embed/track/1LHZMWefF9502NPfArRfvP");
}

[Fact]
Expand Down Expand Up @@ -203,7 +203,8 @@ public async Task Message_with_a_YouTube_video_is_rendered_using_an_iframe_in_HT

// Assert
iframeHtml.Should().NotBeNull();
iframeHtml?.GetAttribute("src").Should().StartWithEquivalent("https://www.youtube.com/embed/qOWW4OlgbvE");
iframeHtml?.GetAttribute("src").Should()
.StartWithEquivalentOf("https://www.youtube.com/embed/qOWW4OlgbvE");
}
}
}

0 comments on commit 524d0a1

Please sign in to comment.