From 3b92c4af5a5d551f2598174d1da9377476c4ed87 Mon Sep 17 00:00:00 2001 From: Pete Cook Date: Thu, 15 Mar 2018 10:18:20 +0000 Subject: [PATCH] Tweak tests --- test/specs/ReactPlayer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/specs/ReactPlayer.js b/test/specs/ReactPlayer.js index 7815cad2..2a70b3a1 100644 --- a/test/specs/ReactPlayer.js +++ b/test/specs/ReactPlayer.js @@ -11,7 +11,7 @@ const TEST_URLS = [ { name: 'FilePlayer', url: 'http://clips.vorwaerts-gmbh.de/big_buck_bunny.ogv', - switchTo: 'http://www.sample-videos.com/audio/mp3/crowd-cheering.mp3', + switchTo: 'https://storage.googleapis.com/media-session/elephants-dream/the-wires.mp3', error: 'http://example.com/error.ogv', onSeek: true }, @@ -383,7 +383,7 @@ describe('ReactPlayer', () => { ) }) - it('does not error when seeking using fraction when duration is available', done => { + it('does not error when seeking using fraction when duration is not available', done => { renderPlayer({ url: 'https://www.youtube.com/watch?v=M7lc1UVf-VE', onReady: () => {