aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/lib/classes/SimpleCollectionTest.php
diff options
context:
space:
mode:
authormlunzena <lunzenauer@elan-ev.de>2021-08-18 10:19:43 +0200
committermlunzena <lunzenauer@elan-ev.de>2021-08-18 10:22:01 +0200
commit607b1e07f0768227066e528a3792eaedaec941aa (patch)
tree94dbaaccd2e39f7064b0248c74eff1292b12abd0 /tests/unit/lib/classes/SimpleCollectionTest.php
parentcf997f4c7d1fc0474fea242c6d4e9206a0bc3521 (diff)
update Codeception and phpunit, refs #81
Diffstat (limited to 'tests/unit/lib/classes/SimpleCollectionTest.php')
-rw-r--r--tests/unit/lib/classes/SimpleCollectionTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/lib/classes/SimpleCollectionTest.php b/tests/unit/lib/classes/SimpleCollectionTest.php
index 1d236e1..e390157 100644
--- a/tests/unit/lib/classes/SimpleCollectionTest.php
+++ b/tests/unit/lib/classes/SimpleCollectionTest.php
@@ -251,11 +251,11 @@ class SimpleCollectionTest extends \Codeception\Test\Unit
/**
* @depends testConstruct
- * @expectedException InvalidArgumentException
- * @expectedExceptionMessage unknown operator: foo
*/
public function testInvalidCompOperatorException($a)
{
+ $this->expectException(\InvalidArgumentException::class);
+ $this->expectExceptionMessage('unknown operator: foo');
SimpleCollection::getCompFunc('foo', null);
}