Skip to content
Snippets Groups Projects
Commit 54f6b1b4 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

dev #65267 : fix test

parent 1d509b59
Branches
Tags
2 merge requests!2427Dev#65267 bonus moderation des videos,!2422Dev#65267 bonus moderation des videos
Pipeline #3028 passed with stage
in 34 minutes and 41 seconds
......@@ -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()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment