diff --git a/tests/scenarios/Templates/TemplatesTest.php b/tests/scenarios/Templates/TemplatesTest.php index eec4473a9c53633d6b0637a7d010c10a45dead11..c43379059c09e7aa8f6ec5e49f931ec82b93a914 100644 --- a/tests/scenarios/Templates/TemplatesTest.php +++ b/tests/scenarios/Templates/TemplatesTest.php @@ -1483,13 +1483,11 @@ class TemplatesDispatchRecordAuthorTest extends TemplatesIntonationTestCase { ->with('https://www.youtube.com/feeds/videos.xml?channel_id=123') ->answers('') ->whenCalled('open_url') - ->with('https://cache.org?auteur=Iron+Maiden&width=500&src=99aed22943ef35851f70f99965a44690&api=2.0&action=7') ->answers(['source' => 'http://ina.fr', 'videos' => [['titre' =>'abcdef', 'player' => 'src="http://mycontent.org/interview"', 'contenu'=>'Mycontent']] - ]) - ->beStrict(); + ]); Class_CosmoVar::setValueOf('url_services', 'https://cache.org'); Class_WebService_Afi::shouldThrowError(true);