Skip to content

Commit d0a8313

Browse files
authored
Change expectedRoomUrl to const in tests
1 parent c2582d0 commit d0a8313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DiscordBotTests/ServiceTests/Watch2GetherServiceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public async Task CreateRoom_WithSuccessfulRequest_ReturnsSuccessAndRoomUrl()
3838
const string videoUrl = "https://www.youtube.com/watch?v=dQw4w9WgXcQ";
3939
const string streamKey = "AbCdEfGhIjKlMnOpQrStUvWxYz";
4040
var jsonResponse = JsonConvert.SerializeObject(new { streamkey = streamKey });
41-
static readonly string expectedRoomUrl = $"https://w2g.tv/rooms/{streamKey}";
41+
const string expectedRoomUrl = $"https://w2g.tv/rooms/{streamKey}";
4242

4343
_mockHttpService.Setup(x => x.GetResponseFromUrl(
4444
It.IsAny<string>(),

0 commit comments

Comments
 (0)