Skip to content
Snippets Groups Projects
Commit c3115b25 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dev #64573 fix tests

parent e893ed1a
Branches
Tags
3 merge requests!3297WIP: Master,!3037Master,!2988Dev#64573 templates pour l interface publique libraire bootstrap
Pipeline #6203 failed with stage
in 27 minutes and 45 seconds
......@@ -1765,7 +1765,7 @@ class TemplatesViewRecordTest extends TemplatesIntonationTestCase {
/** @test */
public function ratingShouldBeDisplayed() {
$this->assertXPathContentContains('//');
$this->assertXPathContentContains('//div', 'Lost héighway');
}
......@@ -1861,7 +1861,7 @@ class TemplatesReviewsWidgetTest extends TemplatesIntonationTestCase {
/** @test */
public function dispatchFrontShouldContainsSprechenSieDeutsh() {
public function dispatchFrontShouldContainsLeRoi() {
$widget = ((new Class_Systeme_Widget_Widget)
->setId(19)
->setProfileId(72)
......@@ -1879,10 +1879,10 @@ class TemplatesReviewsWidgetTest extends TemplatesIntonationTestCase {
$this->fixture('Class_AvisNotice',
['id' => 4,
'note' => '4',
'entete' => '<p>is ...</p>',
'entete' => 'Le Roi',
'avis' => 'Le Roi des cons sur son throne']);
$this->dispatch('/opac/index/index/id_profil/72', true);
$this->assertXPathContentContains('//div', 'Sprechen Sie Deutsch ?');
$this->assertXPathContentContains('//div', 'Le Roi');
}
}
\ No newline at end of file
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