[ticket/571] Use proper links for forms in ACP

B3P-571
This commit is contained in:
Marc Alexander
2015-06-06 15:37:03 +02:00
parent 45fb1c859d
commit 31d01f0aa4
7 changed files with 9 additions and 9 deletions

View File

@@ -128,7 +128,7 @@ class board3_portal_modules_manager_test extends \board3\portal\tests\testframew
public function test_get_module_link()
{
$this->modules_manager->set_acp_class('foo\bar')->set_u_action('index.php?i=25&mode=barfoo');
$this->assertEquals('index.php?i=%5Cfoo%5Cbar&mode=test&module_id=5', $this->modules_manager->get_module_link('test', 5));
$this->assertEquals('index.php?i=-foo-bar&mode=test&module_id=5', $this->modules_manager->get_module_link('test', 5));
}
public function test_handle_ajax_request()