aboutsummaryrefslogtreecommitdiffstats
path: root/tests/groupposition
diff options
context:
space:
mode:
Diffstat (limited to 'tests/groupposition')
-rw-r--r--tests/groupposition/legend_test.php2
-rw-r--r--tests/groupposition/teampage_test.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/groupposition/legend_test.php b/tests/groupposition/legend_test.php
index 02ddb7cbce..66fc909770 100644
--- a/tests/groupposition/legend_test.php
+++ b/tests/groupposition/legend_test.php
@@ -43,7 +43,7 @@ class phpbb_groupposition_legend_test extends phpbb_database_test_case
if ($throws_exception)
{
- $this->setExpectedException($throws_exception);
+ $this->expectException($throws_exception);
}
$test_class = new \phpbb\groupposition\legend($db, $user);
diff --git a/tests/groupposition/teampage_test.php b/tests/groupposition/teampage_test.php
index 3b916670f7..8598e5cfb0 100644
--- a/tests/groupposition/teampage_test.php
+++ b/tests/groupposition/teampage_test.php
@@ -43,7 +43,7 @@ class phpbb_groupposition_teampage_test extends phpbb_database_test_case
if ($throws_exception)
{
- $this->setExpectedException($throws_exception);
+ $this->expectException($throws_exception);
}
$test_class = new \phpbb\groupposition\teampage($db, $user, $cache);