aboutsummaryrefslogtreecommitdiffstats
path: root/tests/nestedset/set_forum_move_test.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-04-25 16:17:58 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-04-25 16:17:58 +0200
commit804f139be0534691fc1c8f6ddaf7ebc68a7d0a1c (patch)
treecd3e660467157004044203bfd846823fb30541ad /tests/nestedset/set_forum_move_test.php
parent9d7d962c0db3425e9448eb07649c6709664a56bd (diff)
downloadforums-804f139be0534691fc1c8f6ddaf7ebc68a7d0a1c.tar
forums-804f139be0534691fc1c8f6ddaf7ebc68a7d0a1c.tar.gz
forums-804f139be0534691fc1c8f6ddaf7ebc68a7d0a1c.tar.bz2
forums-804f139be0534691fc1c8f6ddaf7ebc68a7d0a1c.tar.xz
forums-804f139be0534691fc1c8f6ddaf7ebc68a7d0a1c.zip
[ticket/11495] Use default exceptions
PHPBB3-11495
Diffstat (limited to 'tests/nestedset/set_forum_move_test.php')
-rw-r--r--tests/nestedset/set_forum_move_test.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/nestedset/set_forum_move_test.php b/tests/nestedset/set_forum_move_test.php
index 166fe666f2..90fc1c5468 100644
--- a/tests/nestedset/set_forum_move_test.php
+++ b/tests/nestedset/set_forum_move_test.php
@@ -383,7 +383,7 @@ class phpbb_tests_nestedset_set_forum_move_test extends phpbb_tests_nestedset_se
/**
* @dataProvider move_children_throws_item_data
*
- * @expectedException phpbb_nestedset_exception
+ * @expectedException OutOfBoundsException
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_ITEM
*/
public function test_move_children_throws_item($explain, $forum_id, $target_id)
@@ -403,7 +403,7 @@ class phpbb_tests_nestedset_set_forum_move_test extends phpbb_tests_nestedset_se
/**
* @dataProvider move_children_throws_parent_data
*
- * @expectedException phpbb_nestedset_exception
+ * @expectedException OutOfBoundsException
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_PARENT
*/
public function test_move_children_throws_parent($explain, $forum_id, $target_id)
@@ -539,7 +539,7 @@ class phpbb_tests_nestedset_set_forum_move_test extends phpbb_tests_nestedset_se
/**
* @dataProvider change_parent_throws_item_data
*
- * @expectedException phpbb_nestedset_exception
+ * @expectedException OutOfBoundsException
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_ITEM
*/
public function test_change_parent_throws_item($explain, $forum_id, $target_id)
@@ -559,7 +559,7 @@ class phpbb_tests_nestedset_set_forum_move_test extends phpbb_tests_nestedset_se
/**
* @dataProvider change_parent_throws_parent_data
*
- * @expectedException phpbb_nestedset_exception
+ * @expectedException OutOfBoundsException
* @expectedExceptionMessage FORUM_NESTEDSET_INVALID_PARENT
*/
public function test_change_parent_throws_parent($explain, $forum_id, $target_id)