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

dev #14358 adding menu entry for custom fields

parent 578c507a
5 merge requests!321Dev#12992 custom fields,!302Dev#12992 Custom Fields,!235Dev#12992 Custom Fields,!223Dev#12992 Custom Fields,!216Dev#12992 Custom Fields
......@@ -247,6 +247,11 @@ class ZendAfi_View_Helper_Admin_MenuGaucheAdmin extends ZendAfi_View_Helper_Base
'http://' . $_SERVER['SERVER_NAME'].CKBASEURL."core_five_filemanager/index.html?ServerPath=".USERFILESURL,
$this->filterAdminPortail($this->user))
.$this->addMenu('proprietes.gif',
$this->translate()->_('Champs personnalisés'),
'/admin/custom-fields',
$this->filterAdminPortail($this->user))
.$this->closeBoite();
}
......
......@@ -133,6 +133,12 @@ class AdminIndexControllerIndexActionTest extends AdminIndexControllerTestCase {
public function PATH_JAVAShouldExists() {
$this->assertTrue(file_exists(PATH_JAVA));
}
/** @test */
public function menuCgaucheShouldContainsCustomFields() {
$this->assertXPathContentContains('//li//a','Champs personnalisés',$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