diff --git a/src/Tests/JwPlayer7ConfigurationTest.php b/src/Tests/JwPlayer7ConfigurationTest.php
index f57315a..1fab21a 100644
--- a/src/Tests/JwPlayer7ConfigurationTest.php
+++ b/src/Tests/JwPlayer7ConfigurationTest.php
@@ -119,8 +119,9 @@ class JwPlayer7ConfigurationTest extends WebTestBase {
 
     $value = $this->xpath('//video/@id');
     $id = (string) $value[0]['id'];
-    // Check the jw_player js.
-    $this->assertRaw('jwplayer(\'' . $id . '\').setup( {"file":"' . file_create_url(\Drupal::token()->replace('public://[date:custom:Y]-[date:custom:m]/myVideo.mp4')) . '","width":100,"height":100,"controlbar":"bottom","advertising":{"client":"vast","tag":"www.example.com/vast"},"primary":"html5"})');
+    // Check the jw_player js, since the cloud player library url is set the
+    // preset config is not applied.
+    $this->assertRaw('jwplayer(\'' . $id . '\').setup( {"file":"' . file_create_url(\Drupal::token()->replace('public://[date:custom:Y]-[date:custom:m]/myVideo.mp4')) . '"');
     // Make sure the hash is there.
     $this->assertTrue(preg_match('/jwplayer-[a-zA-Z0-9]{1,}$/', $id));
     // Check the library created because of cloud hosting.
diff --git a/src/Tests/JwPlayerConfigurationTest.php b/src/Tests/JwPlayerConfigurationTest.php
index b111679..9a8672f 100644
--- a/src/Tests/JwPlayerConfigurationTest.php
+++ b/src/Tests/JwPlayerConfigurationTest.php
@@ -118,8 +118,9 @@ class JwPlayerConfigurationTest extends WebTestBase {
 
     $value = $this->xpath('//video/@id');
     $id = (string) $value[0]['id'];
-    // Check the jw_player js.
-    $this->assertRaw('jwplayer(\'' . $id . '\').setup( {"file":"' . file_create_url(\Drupal::token()->replace('public://[date:custom:Y]-[date:custom:m]/myVideo.mp4')) . '","width":100,"height":100,"controlbar":"bottom","advertising":{"client":"vast","tag":"www.example.com/vast"},"primary":"html5"})');
+    // Check the jw_player js, since the cloud player library url is set the
+    // preset config is not applied.
+    $this->assertRaw('jwplayer(\'' . $id . '\').setup( {"file":"' . file_create_url(\Drupal::token()->replace('public://[date:custom:Y]-[date:custom:m]/myVideo.mp4')) . '"');
     // Make sure the hash is there.
     $this->assertTrue(preg_match('/jwplayer-[a-zA-Z0-9]{1,}$/', $id));
     // Check the library created because of cloud hosting.
