From 176d27ee8597a09028f0e37f4561788a6dc641c0 Mon Sep 17 00:00:00 2001 From: Charaf Rezrazi <2086576+Rezrazi@users.noreply.github.com> Date: Mon, 13 May 2024 12:47:42 +0000 Subject: [PATCH] test: fixed wrong localization test for validation --- tests/Unit/RecaptchaTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/RecaptchaTest.php b/tests/Unit/RecaptchaTest.php index 3ce3640..c86cf73 100644 --- a/tests/Unit/RecaptchaTest.php +++ b/tests/Unit/RecaptchaTest.php @@ -95,7 +95,7 @@ $this->expectException(ValidationException::class); - $this->expectExceptionMessage(__('validation.recaptcha')); + $this->expectExceptionMessage(__('recaptcha-enterprise::validation.recaptcha', ['reason' => 'EXPIRED'])); $validator->validate(); });