You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
newResponse(400, [], "The module 'node-pdftk' is not whitelisted in VM."),
@@ -680,8 +680,8 @@ public function test_jsonError()
680
680
{
681
681
$this->expectException(APIException::class);
682
682
$this->expectExceptionCode(400);
683
-
$this->expectExceptionMessageRegExp('/Failed to render PDF/');
684
-
$this->expectExceptionMessageRegExp('/"rotate" must be one of/');
683
+
$this->expectExceptionMessageMatches('/Failed to render PDF/');
684
+
$this->expectExceptionMessageMatches('/"rotate" must be one of/');
685
685
686
686
$mock = newMockHandler([
687
687
newResponse(400, [], '[{"message":"\"rotate\" must be one of [90, -90, 180]","path":["rotate"],"type":"any.allowOnly","context":{"value":-1000,"valids":[90,-90,180],"key":"rotate","label":"rotate"}}]'),
@@ -703,8 +703,8 @@ public function test_miscError()
703
703
{
704
704
$this->expectException(APIException::class);
705
705
$this->expectExceptionCode(0);
706
-
$this->expectExceptionMessageRegExp('/Failed to render PDF/');
0 commit comments