diff --git a/tests/application/modules/admin/controllers/RecordsControllerTest.php b/tests/application/modules/admin/controllers/RecordsControllerTest.php index 0a6861504d5d52be9e83676c472029deddc564fe..10637e8e9a7b82036f0caf4edf41f002587e39e8 100644 --- a/tests/application/modules/admin/controllers/RecordsControllerTest.php +++ b/tests/application/modules/admin/controllers/RecordsControllerTest.php @@ -325,12 +325,6 @@ class RecordsControllerBiographyTest extends RecordsControllerTestCase { public function formShouldHaveInputUrlAuteur() { $this->assertXPath('//form//input[@type="url"][@name="url_auteur"][contains(@placeholder, "ex: http://fr.wikipedia.org/wiki/Henri_Laborit")]'); } - - - /** @test */ - public function formShouldHaveSubmitButtonEnvoyer() { - $this->assertXPath('//form//input[@type="submit"][@value="Envoyer"]'); - } } @@ -399,12 +393,6 @@ class RecordsControllerTrailerTest extends RecordsControllerTestCase { public function formShouldHaveInputUrlTrailer() { $this->assertXPath('//form//input[@type="url"][@name="url_trailer"][contains(@placeholder, "ex: https://youtu.be/AUI12X")]'); } - - - /** @test */ - public function formShouldHaveSubmitButtonEnvoyer() { - $this->assertXPath('//form//input[@type="submit"][@value="Envoyer"]'); - } } @@ -416,7 +404,7 @@ class RecordsControllerTrailerPostTest extends RecordsControllerTestCase { $this->_http_client ->whenCalled('open_url') ->with('http://cache.org' - .'?url_trailer='.urlencode('http://youtu.be/BEPO2') + .'?url_trailer='.urlencode('https://youtu.be/BEPO2') .'&clef_oeuvre=HARRY_POTTER' .'&type_doc=1' .'&src='.Class_WebService_AllServices::createSecurityKey()