summaryrefslogtreecommitdiffstats
path: root/spec/helpers_spec.cr
diff options
context:
space:
mode:
authorTheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com>2021-04-03 21:21:42 +0000
committerGitHub <noreply@github.com>2021-04-03 21:21:42 +0000
commitc0997f951c9af58a844d6098398ce0a39e43d052 (patch)
tree3d96e2e4f3582727e3a23d6a7e15f30a0513e608 /spec/helpers_spec.cr
parentcb378c1754d2424ed22eaaf8f0d0830e4c978b3b (diff)
parent8823753b4680e5e0589f3be4d1d2b0cbc4344dc9 (diff)
downloadinvidious-c0997f951c9af58a844d6098398ce0a39e43d052.tar.gz
invidious-c0997f951c9af58a844d6098398ce0a39e43d052.tar.bz2
invidious-c0997f951c9af58a844d6098398ce0a39e43d052.zip
Merge pull request #1929 from Svallinn/channel_playlist_fix
Fix channels' playlists fetching
Diffstat (limited to 'spec/helpers_spec.cr')
-rw-r--r--spec/helpers_spec.cr6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/helpers_spec.cr b/spec/helpers_spec.cr
index b0b786bf..ed3a3d48 100644
--- a/spec/helpers_spec.cr
+++ b/spec/helpers_spec.cr
@@ -41,12 +41,6 @@ describe "Helper" do
end
end
- describe "#extract_channel_playlists_cursor" do
- it "correctly extracts a playlists cursor from the given URL" do
- extract_channel_playlists_cursor("4qmFsgLRARIYVUNDajk1NklGNjJGYlQ3R291c3phajl3GrQBRWdsd2JHRjViR2x6ZEhNWUF5QUJNQUk0QVdBQmFnQjZabEZWYkZCaE1XczFVbFpHZDJGV09XNWxWelI0V0RGR2VWSnVWbUZOV0Vwc1ZHcG5lRmd3TVU1aVZXdDRWMWN4YzFGdFNuTmtlbWh4VGpCd1NWTllVa1pTYTJNeFlVUmtlRmt3Y0ZWVWJWRXdWbnBzTkU1V1JqRmhNVGxFVm14dmQwMXFhRzVXZDdnQkFBJTNEJTNE", false).should eq("AIOkY9EQpi_gyn1_QrFuZ1reN81_MMmI1YmlBblw8j7JHItEFG5h7qcJTNd4W9x5Quk_CVZ028gW")
- end
- end
-
describe "#produce_playlist_continuation" do
it "correctly produces ctoken for requesting index `x` of a playlist" do
produce_playlist_continuation("UUCla9fZca4I7KagBtgRGnOw", 100).should eq("4qmFsgJNEhpWTFVVQ2xhOWZaY2E0STdLYWdCdGdSR25PdxoUQ0FGNkJsQlVPa05IVVElM0QlM0SaAhhVVUNsYTlmWmNhNEk3S2FnQnRnUkduT3c%3D")