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

hotline #35865 fix issue

parent 965f9ee1
Branches
Tags
7 merge requests!1553Master,!1502Master,!1501Stable,!1472Stable,!1390Master,!1383Hotline master,!1379Hotline#35865 add portal to selectable list in admin user form
- ticket #35865 : Ajout de la bibliothèque "Portail" dans le formulaire d'administration de modification d'un utilisateur
\ No newline at end of file
......@@ -116,7 +116,7 @@ class ZendAfi_Form_Admin_User extends ZendAfi_Form {
'id_site',
array_merge(
['label' => $this->_('Bibliothèque'),
'multiOptions' => Class_Bib::findAllLabels()],
'multiOptions' => array_merge(['0' => $this->_('Portail')], Class_Zone::findAllLabels())],
$bib_option))
->addElement('userGroup',
......
......@@ -801,6 +801,11 @@ class Admin_UsersControllerFormEditAdminTest extends Admin_UsersControllerEditAd
$this->dispatch('/admin/users/edit/id/10', true);
}
/** @test */
public function portalilShouldBePresent() {
$this->assertXPath('//fieldset//table//tr//td//select[@name="id_site"]//option[@value="0"]');
}
/** @test */
public function withModoPortailRedmineLibrarySelectorShouldBePresent() {
......
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