From: Marius Gavrilescu Date: Fri, 27 Jan 2017 16:32:56 +0000 (+0000) Subject: Change test video to one that works X-Git-Tag: 1.000004~1 X-Git-Url: http://git.ieval.ro/?p=www-offliberty.git;a=commitdiff_plain;h=bae74615fc00d774af9898f9bb242ddd586c04ba Change test video to one that works --- diff --git a/t/50-network.t b/t/50-network.t index c67d2d3..2dda6ba 100644 --- a/t/50-network.t +++ b/t/50-network.t @@ -7,10 +7,10 @@ use Test::More tests => 4; use WWW::Offliberty qw/off/; my @results; -@results = off "http://youtube.com/watch?v=Tj75Arhq5ho"; +@results = off "https://youtube.com/watch?v=pJyQpAiMXkg"; cmp_ok @results, '>=', 1, 'youtube'; -@results = off "http://youtube.com/watch?v=Tj75Arhq5ho", video_file => 1; +@results = off "https://youtube.com/watch?v=pJyQpAiMXkg", video_file => 1; is @results, 2, 'youtube, video_file => 1'; like $results[1], qr/\.mp4/, 'video URL contains ".mp4"';