[ticket/571] Fix incorrect cast to integer in database_handler

B3P-571
This commit is contained in:
Marc Alexander
2015-06-06 16:33:50 +02:00
parent 7d5128db80
commit 0665dba08f
3 changed files with 8 additions and 5 deletions

View File

@@ -134,7 +134,7 @@ class modules_manager_confirm_box_test extends \board3\portal\tests\testframewor
$this->assertNull($this->modules_manager->reset_module(15, 'barfoo', 6, array()));
$this->assertEquals(array(
'seconds' => 3,
'link' => 'adm/index.php?i=%5Cfoo%5Cbar&mode=config&module_id=6',
'link' => 'adm/index.php?i=-foo-bar&mode=config&module_id=6',
), self::$meta_refresh);
$this->assertEquals(phpbb_acp_move_module_test::$error_type, E_USER_NOTICE);
$this->assertEquals(phpbb_acp_move_module_test::$error, 'adm/index.php?i=15&mode=foobar&module_id=6');