From 07990b9b4801a9d0bae3dabba402dfc639618d4d Mon Sep 17 00:00:00 2001 From: csemazharul Date: Sun, 24 Dec 2023 17:08:29 +0600 Subject: [PATCH] test commit --- tests/ValidatorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ValidatorTest.php b/tests/ValidatorTest.php index fb09cda..2a51838 100644 --- a/tests/ValidatorTest.php +++ b/tests/ValidatorTest.php @@ -42,7 +42,7 @@ $errors = $validation->errors(); expect(true)->toBe($validation->fails(true)); expect($errors)->toBeArray(); - expect($errors)->toHaveCount(4); + expect($errors)->toHaveCount(422); expect($errors)->toHaveKeys(['last_name', 'age', 'email', 'confirm_password']); expect($errors)->toBe([ 'last_name' => ['The Last Name field is required'],