From 524d0a1bb2a866823b1e7158bbe9669aad824d13 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Sat, 28 Aug 2021 19:47:51 +0300 Subject: [PATCH] Fix breaking changes in tests --- DiscordChatExporter.Cli.Tests/EmbedSpecs.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/DiscordChatExporter.Cli.Tests/EmbedSpecs.cs b/DiscordChatExporter.Cli.Tests/EmbedSpecs.cs index e35b130..2ffee94 100644 --- a/DiscordChatExporter.Cli.Tests/EmbedSpecs.cs +++ b/DiscordChatExporter.Cli.Tests/EmbedSpecs.cs @@ -170,7 +170,7 @@ namespace DiscordChatExporter.Cli.Tests // 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] @@ -203,7 +203,8 @@ namespace DiscordChatExporter.Cli.Tests // 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"); } } } \ No newline at end of file