Skip to content

Commit 3ef5ad9

Browse files
committed
Removed deprecated setExpectedException method
1 parent 52f8528 commit 3ef5ad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/Codeception/Module/RedisTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ protected function shouldFail($exceptionClass = null)
9797
$exceptionClass = 'PHPUnit\Framework\AssertionFailedError';
9898
}
9999

100-
$this->setExpectedException($exceptionClass);
100+
$this->expectException($exceptionClass);
101101
}
102102

103103
// ****************************************

0 commit comments

Comments
 (0)