Make tests more resilient

This commit is contained in:
Tyrrrz
2023-09-28 19:18:52 +03:00
parent c466c17793
commit fbfff4e51f
5 changed files with 32 additions and 15 deletions

View File

@@ -28,7 +28,7 @@ public class JsonStickerSpecs
.GetProperty("sourceUrl")
.GetString()
.Should()
.Be("https://cdn.discordapp.com/stickers/904215665597120572.png");
.StartWith("https://cdn.discordapp.com/stickers/904215665597120572.png");
}
[Fact]
@@ -50,6 +50,6 @@ public class JsonStickerSpecs
.GetProperty("sourceUrl")
.GetString()
.Should()
.Be("https://cdn.discordapp.com/stickers/816087132447178774.json");
.StartWith("https://cdn.discordapp.com/stickers/816087132447178774.json");
}
}