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

dev #60900 fix failures

parent 83676419
Branches
Tags
3 merge requests!2334Master,!2177Dev#60900 ajouter un menu admin en front pour regrouper les actions outils de l adminstrateur,!2173Dev#60900 ajouter un menu admin en front pour regrouper les actions outils de l adminstrateur
Pipeline #1638 failed with stage
in 11 minutes and 10 seconds
......@@ -105,11 +105,11 @@ class ZendAfi_View_Helper_Admin_FrontNav extends ZendAfi_View_Helper_BaseHelper
protected function _changeProfile() {
$form = (new ZendAfi_Form)
->addElement('comboProfils',
'change_profile',
'admin_menu_change_profile',
['label' => $this->_('Outils pour la page :'),
'autoload' => true])
->addUniqDisplayGroup('group')
->populate(['change_profile' => Class_Profil::getCurrentProfil()->getId()]);
->populate(['admin_menu_change_profile' => Class_Profil::getCurrentProfil()->getId()]);
return $this->view->renderForm($form->setAction('/'));
}
......
......@@ -754,7 +754,7 @@ class IndexControllerWithBibAdminLoggedTest extends AbstractControllerTestCase {
/** @test */
public function changeProfileSelectorShouldBeInMenu() {
$this->assertXPath('//body/div[contains(@class, "menu_admin_front")]//form//select[@name="change_profile"]');
$this->assertXPath('//body/div[contains(@class, "menu_admin_front")]//form//select[@name="admin_menu_change_profile"]');
}
......
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