mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
Tests > fix "Call to undefined method setExpectedException()" bug > make compatible with PHPUnit 8.0 (and PHP 7.2+)
This commit is contained in:
@@ -131,7 +131,7 @@ class SizeTest extends BaseTestCase
|
||||
*/
|
||||
public function testFromArrayUsingInvalidSizeAsArray(array $size)
|
||||
{
|
||||
$this->setExpectedException(InvalidSizeDimensionsException::class);
|
||||
$this->expectException(InvalidSizeDimensionsException::class);
|
||||
Size::fromArray($size);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user