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

dev#13138 fix test failures

parent 7d6fd36c
Branches
Tags
3 merge requests!258Dev/13872 Orphee Allow Hold Available Items,!87Dev#13138,!72Dev#13138
......@@ -87,8 +87,8 @@
<td class="gauche">
<?php
echo $this->formSelect('display_event_info',
$this->preferences['display_event_info'],
'',
$this->preferences['display_event_info'],
['bib' => $this->_('Nom de la bibliothèque'),
'cat' => $this->_('Catégorie de l\'article'),
'none' => $this->_('Titre seulement')]);
......
......@@ -257,7 +257,8 @@ class Admin_MenusControllerProfilJazzEditCalendrierActionTest extends Admin_Menu
/** @test */
public function displayEventInfoShouldBeBib() {
$this->assertXPath('//input[@name="display_event_info"][@checked="checked"][@value="bib"]');
$this->assertXPath('//select[@name="display_event_info"]/option[@value="bib"][@selected="selected"]',
$this->_response->getBody());
}
}
......
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