Skip to content

Commit 2eb5929

Browse files
committed
Fix CI
1 parent ef7e06a commit 2eb5929

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

tests/src/Controller/CDCTest.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)