We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dddea93 commit 27f256fCopy full SHA for 27f256f
tests/src/Controller/AggregatorTest.php
@@ -100,7 +100,7 @@ public function testGetWithoutId(): void
100
$c = new Controller\Aggregator($this->config, $this->session);
101
102
$this->expectException(Error\BadRequest::class);
103
- $this->expectExceptionMessage("BADREQUEST('%REASON%' => 'Missing required parameter \"id\".')");
+ $this->expectExceptionMessage('{"errorCode":"BADREQUEST","%REASON%":"Missing required parameter \"id\"."}');
104
105
$c->get($request);
106
}
0 commit comments