mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-22 02:45:08 -04:00
Fix tests
This commit is contained in:
parent
f376028d76
commit
9c2a26aa82
1 changed files with 4 additions and 2 deletions
|
@ -54,8 +54,9 @@ public class EmbedSpecs : IClassFixture<ExportWrapperFixture>
|
|||
message
|
||||
.QuerySelectorAll("img")
|
||||
.Select(e => e.GetAttribute("src"))
|
||||
.Where(s => s?.EndsWith("i.redd.it/f8w05ja8s4e61.png") ?? false)
|
||||
.Should()
|
||||
.EndWith("i.redd.it/f8w05ja8s4e61.png");
|
||||
.ContainSingle();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
@ -87,8 +88,9 @@ public class EmbedSpecs : IClassFixture<ExportWrapperFixture>
|
|||
message
|
||||
.QuerySelectorAll("source")
|
||||
.Select(e => e.GetAttribute("src"))
|
||||
.Where(s => s?.EndsWith("media.tenor.com/DDAJeW6BQKkAAAPo/tooncasm-test-copy.mp4") ?? false)
|
||||
.Should()
|
||||
.EndWith("media.tenor.com/DDAJeW6BQKkAAAPo/tooncasm-test-copy.mp4");
|
||||
.ContainSingle();
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue