1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

[ticket/11495] Use item_id only as parameter for get_branch_data()

PHPBB3-11495
This commit is contained in:
Joas Schilling
2013-04-19 16:18:03 +02:00
parent f3ff8b36be
commit d24ff2329f
3 changed files with 10 additions and 17 deletions

View File

@@ -66,7 +66,7 @@ class phpbb_tests_nestedset_set_forum_get_data_test extends phpbb_tests_nestedse
*/
public function test_get_branch_data($forum_id, $type, $order_desc, $include_item, $expected)
{
$this->assertEquals($expected, array_keys($this->set->get_branch_data($this->forum_data[$forum_id], $type, $order_desc, $include_item)));
$this->assertEquals($expected, array_keys($this->set->get_branch_data($forum_id, $type, $order_desc, $include_item)));
}
public function get_parent_data_data()