Use Throwable instead of \Exception

[MAILPOET-4463]
This commit is contained in:
John Oleksowicz
2022-09-12 12:55:00 -05:00
committed by Jan Jakeš
parent 2c2f15a562
commit 8cbbe5aa6e
3 changed files with 9 additions and 8 deletions

View File

@@ -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);
}