Fix breaking changes in tests

This commit is contained in:
Tyrrrz 2021-08-28 19:47:51 +03:00
parent f0a4410ee0
commit 524d0a1bb2

View file

@ -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");
}
}
}