Skip to content

Commit 27f256f

Browse files
committed
Fix unit test
1 parent dddea93 commit 27f256f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/Controller/AggregatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function testGetWithoutId(): void
100100
$c = new Controller\Aggregator($this->config, $this->session);
101101

102102
$this->expectException(Error\BadRequest::class);
103-
$this->expectExceptionMessage("BADREQUEST('%REASON%' => 'Missing required parameter \"id\".')");
103+
$this->expectExceptionMessage('{"errorCode":"BADREQUEST","%REASON%":"Missing required parameter \"id\"."}');
104104

105105
$c->get($request);
106106
}

0 commit comments

Comments
 (0)