We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7cc8ff commit dc4a6c3Copy full SHA for dc4a6c3
1 file changed
tests/src/Controller/YubikeyTest.php
@@ -63,7 +63,9 @@ public function testOtpNoState(): void
63
$c = new Controller\Yubikey($this->config, $this->session);
64
65
$this->expectException(Error\BadRequest::class);
66
- $this->expectExceptionMessage("BADREQUEST('%REASON%' => 'Missing AuthState parameter.')");
+ $this->expectExceptionMessage(
67
+ '{"errorCode":"BADREQUEST","%REASON%":"Missing AuthState parameter."}',
68
+ );
69
70
$c->main($request);
71
}
0 commit comments