Skip to content

Commit

Permalink
Don't use specific URLs in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed Jan 22, 2022
1 parent f68bb13 commit b7cdc56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion YoutubeExplode.Tests/PlaylistSpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public async Task User_can_get_metadata_of_a_playlist()
playlist.Title.Should().Be("Analytics Academy - Digital Analytics Fundamentals");
playlist.Author.Should().NotBeNull();
playlist.Author?.ChannelId.Value.Should().Be("UCJ5UyIAa5nEGksjcdp43Ixw");
playlist.Author?.ChannelUrl.Should().Be("https://www.youtube.com/channel/UCJ5UyIAa5nEGksjcdp43Ixw");
playlist.Author?.ChannelUrl.Should().NotBeNullOrWhiteSpace();
playlist.Author?.Title.Should().Be("Google Analytics");
playlist.Description.Should().Contain("Digital Analytics Fundamentals course on Analytics Academy");
playlist.Thumbnails.Should().NotBeEmpty();
Expand Down
2 changes: 1 addition & 1 deletion YoutubeExplode.Tests/VideoSpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public async Task User_can_get_metadata_of_a_video()
video.Url.Should().NotBeNullOrWhiteSpace();
video.Title.Should().Be("Aka no Ha [Another] +HDHR");
video.Author.ChannelId.Value.Should().Be("UCEnBXANsKmyj2r9xVyKoDiQ");
video.Author.ChannelUrl.Should().Be("https://www.youtube.com/channel/UCEnBXANsKmyj2r9xVyKoDiQ");
video.Author.ChannelUrl.Should().NotBeNullOrWhiteSpace();
video.Author.Title.Should().Be("Tyrrrz");
video.UploadDate.Date.Should().Be(new DateTime(2017, 09, 30));
video.Description.Should().Contain("246pp");
Expand Down

0 comments on commit b7cdc56

Please sign in to comment.