From: Marius Gavrilescu Date: Sat, 20 May 2017 12:30:28 +0000 (+0100) Subject: Change test video *again* X-Git-Tag: 1.000005~1 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=ba4ed44414335a7e72c7be8b84473e340a4e8ded;p=www-offliberty.git Change test video *again* --- diff --git a/t/50-network.t b/t/50-network.t index 2dda6ba..98d0c68 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 "https://youtube.com/watch?v=pJyQpAiMXkg"; +@results = off "https://youtube.com/watch?v=dQw4w9WgXcQ"; cmp_ok @results, '>=', 1, 'youtube'; -@results = off "https://youtube.com/watch?v=pJyQpAiMXkg", video_file => 1; +@results = off "https://youtube.com/watch?v=dQw4w9WgXcQ", video_file => 1; is @results, 2, 'youtube, video_file => 1'; like $results[1], qr/\.mp4/, 'video URL contains ".mp4"';