aboutsummaryrefslogtreecommitdiffstats
path: root/tests/groupposition
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-30 11:36:08 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-05-09 21:40:06 +0200
commitebac54aa9e705e99a562d2fe2c0f57bc6af8dd32 (patch)
treea6f45f42c8861ba60216517687bfe72084ba7dcb /tests/groupposition
parentd968392b4d4aa45afc7fbe75e0ad0a1d06e9275e (diff)
downloadforums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar
forums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar.gz
forums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar.bz2
forums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.tar.xz
forums-ebac54aa9e705e99a562d2fe2c0f57bc6af8dd32.zip
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
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);