1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/16549] Remove exception expectation annotations

PHPBB3-16549
This commit is contained in:
rxu
2020-07-13 14:20:55 +07:00
parent fb62d22013
commit 632bcdd2da
10 changed files with 27 additions and 49 deletions

View File

@@ -66,12 +66,11 @@ class phpbb_tests_tree_nestedset_forum_add_remove_test extends phpbb_tests_tree_
/**
* @dataProvider delete_throws_data
*
* @expectedException OutOfBoundsException
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_ITEM
*/
public function test_delete_throws($explain, $forum_id)
{
$this->expectException('OutOfBoundsException');
$this->expectExceptionMessage('FORUM_NESTEDSET_INVALID_ITEM');
$this->set->delete($forum_id);
}