Use Throwable instead of \Exception
[MAILPOET-4463]
This commit is contained in:
committed by
Jan Jakeš
parent
2c2f15a562
commit
8cbbe5aa6e
@@ -143,7 +143,7 @@ class WorkflowRunLogTest extends \MailPoetTest {
|
||||
$error = $log->getErrors()[0];
|
||||
expect($error['message'])->equals('error');
|
||||
expect($error['code'])->equals(12345);
|
||||
expect($error['exceptionClass'])->equals('Exception');
|
||||
expect($error['errorClass'])->equals('Exception');
|
||||
expect($error['trace'])->array();
|
||||
expect(count($error['trace']))->greaterThan(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user