Fix tests, bump version and update Changes
[www-offliberty.git] / t / 50-network.t
index 98d0c686e125e89a1fd8afa7b2bebff3ba4216cc..7392c85c8f4727f6f4268f66731ce2d9321b4357 100644 (file)
@@ -7,11 +7,11 @@ use Test::More tests => 4;
 use WWW::Offliberty qw/off/;
 
 my @results;
-@results = off "https://youtube.com/watch?v=dQw4w9WgXcQ";
-cmp_ok @results, '>=', 1, 'youtube';
+@results = off 'https://vimeo.com/45196609';
+cmp_ok @results, '>=', 1, 'vimeo';
 
-@results = off "https://youtube.com/watch?v=dQw4w9WgXcQ", video_file => 1;
-is @results, 2, 'youtube, video_file => 1';
+@results = off 'https://vimeo.com/45196609', video_file => 1;
+is @results, 2, 'vimeo, video_file => 1';
 
 like $results[1], qr/\.mp4/, 'video URL contains ".mp4"';
 unlike $results[0], qr/offwarning/, 'audio URL doesn\'t contain "offwarning"';
This page took 0.009325 seconds and 4 git commands to generate.