mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/16549] Remove exception expectation annotations
PHPBB3-16549
This commit is contained in:
@@ -386,12 +386,11 @@ class phpbb_tests_tree_nestedset_forum_move_test extends phpbb_tests_tree_nested
|
||||
|
||||
/**
|
||||
* @dataProvider move_children_throws_item_data
|
||||
*
|
||||
* @expectedException OutOfBoundsException
|
||||
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_ITEM
|
||||
*/
|
||||
public function test_move_children_throws_item($explain, $forum_id, $target_id)
|
||||
{
|
||||
$this->expectException('OutOfBoundsException');
|
||||
$this->expectExceptionMessage('FORUM_NESTEDSET_INVALID_ITEM');
|
||||
$this->set->move_children($forum_id, $target_id);
|
||||
}
|
||||
|
||||
@@ -406,12 +405,11 @@ class phpbb_tests_tree_nestedset_forum_move_test extends phpbb_tests_tree_nested
|
||||
|
||||
/**
|
||||
* @dataProvider move_children_throws_parent_data
|
||||
*
|
||||
* @expectedException OutOfBoundsException
|
||||
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_PARENT
|
||||
*/
|
||||
public function test_move_children_throws_parent($explain, $forum_id, $target_id)
|
||||
{
|
||||
$this->expectException('OutOfBoundsException');
|
||||
$this->expectExceptionMessage('FORUM_NESTEDSET_INVALID_PARENT');
|
||||
$this->set->move_children($forum_id, $target_id);
|
||||
}
|
||||
|
||||
@@ -542,12 +540,11 @@ class phpbb_tests_tree_nestedset_forum_move_test extends phpbb_tests_tree_nested
|
||||
|
||||
/**
|
||||
* @dataProvider change_parent_throws_item_data
|
||||
*
|
||||
* @expectedException OutOfBoundsException
|
||||
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_ITEM
|
||||
*/
|
||||
public function test_change_parent_throws_item($explain, $forum_id, $target_id)
|
||||
{
|
||||
$this->expectException('OutOfBoundsException');
|
||||
$this->expectExceptionMessage('FORUM_NESTEDSET_INVALID_ITEM');
|
||||
$this->set->change_parent($forum_id, $target_id);
|
||||
}
|
||||
|
||||
@@ -562,12 +559,11 @@ class phpbb_tests_tree_nestedset_forum_move_test extends phpbb_tests_tree_nested
|
||||
|
||||
/**
|
||||
* @dataProvider change_parent_throws_parent_data
|
||||
*
|
||||
* @expectedException OutOfBoundsException
|
||||
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_PARENT
|
||||
*/
|
||||
public function test_change_parent_throws_parent($explain, $forum_id, $target_id)
|
||||
{
|
||||
$this->expectException('OutOfBoundsException');
|
||||
$this->expectExceptionMessage('FORUM_NESTEDSET_INVALID_PARENT');
|
||||
$this->set->change_parent($forum_id, $target_id);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user