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

hotline #35768 fix rt comments

parent 4f424636
Branches
Tags
8 merge requests!1553Master,!1502Master,!1501Stable,!1472Stable,!1428Master,!1427Hotline master,!1426Stable,!1419Hotline#35768 footer select profil admin tool
......@@ -89,7 +89,7 @@ class ZendAfi_View_Helper_ComboProfils extends ZendAfi_View_Helper_BaseHelper {
protected function getProfilUrl() {
return rtrim($this->view->url(['id_profil' => null], null, true), '/') . '/?id_profil=';
return $this->view->url(['id_profil' => ''], null, true);
}
......
......@@ -124,7 +124,7 @@ class IndexControllerAsAdminWithCssEditorAndNoHeaderCss extends IndexControllerA
/** @test */
public function comboProfilOnChangeShouldContainsBaseUrl() {
$this->assertXPath('//div[@class="footer"]//select[@id="select_clef_profil"][@onchange="window.location=\'/?id_profil=\' + this.value"]');
$this->assertXPath('//div[@class="footer"]//select[@id="select_clef_profil"][contains(@onchange, "\'/index/index/id_profil/\' + this.value")]');
}
......
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