Skip to content

Commit df72c88

Browse files
committed
test: refactor: use ::class keyword
1 parent 64b3778 commit df72c88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/system/Filters/FiltersTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ public function testEnableFilterWithNoArguments()
781781

782782
public function testEnableNonFilter()
783783
{
784-
$this->expectException('CodeIgniter\Filters\Exceptions\FilterException');
784+
$this->expectException(FilterException::class);
785785

786786
$_SERVER['REQUEST_METHOD'] = 'GET';
787787

0 commit comments

Comments
 (0)