File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,9 @@ public function testResumeNoDomain(): void
117117 $ c = new Controller \CDC (self ::$ config , self ::$ session );
118118
119119 $ this ->expectException (Error \BadRequest::class);
120- $ this ->expectExceptionMessage ("BADREQUEST('%REASON%' => 'Missing domain to CDC resume handler.') " );
120+ $ this ->expectExceptionMessage (
121+ '{"errorCode":"BADREQUEST","%REASON%":"Missing domain to CDC resume handler."} ' ,
122+ );
121123
122124 $ c ->resume ($ request );
123125 }
@@ -178,7 +180,9 @@ public function testResumeDomain(): void
178180
179181 // @TODO: Inject Server & Client objects and test entire workflow
180182 $ this ->expectException (Error \BadRequest::class);
181- $ this ->expectExceptionMessage ("BADREQUEST('%REASON%' => 'Missing CDC response to CDC resume handler.') " );
183+ $ this ->expectExceptionMessage (
184+ '{"errorCode":"BADREQUEST","%REASON%":"Missing CDC response to CDC resume handler."} ' ,
185+ );
182186 // $this->assertTrue($response->isSuccessful());
183187 // $this->assertInstanceOf(RunnableResponse::class, $response);
184188
You can’t perform that action at this time.
0 commit comments