Fix breaking changes in tests

pull/710/head
Tyrrrz 3 years ago
parent f0a4410ee0
commit 524d0a1bb2

@ -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");
}
}
}
Loading…
Cancel
Save