diff --git a/Tests/Web/Auth0ControllerTest.php b/Tests/Web/Auth0ControllerTest.php index a0e8675..0d59121 100644 --- a/Tests/Web/Auth0ControllerTest.php +++ b/Tests/Web/Auth0ControllerTest.php @@ -53,6 +53,6 @@ public function testAuth0の設定をしていたらリダイレクト() public function testUserInfoがない場合メールアドレス認証案内ページにアクセスできない() { $this->client->request('GET', $this->generateUrl('auth0_connect_email_verified')); - self::expectException(BadRequestHttpException::class); + self::assertTrue($this->client->getResponse()->isClientError()); } }