Skip to content

Commit 345f4b2

Browse files
Update tests
1 parent 22d8c27 commit 345f4b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/Laravel/Validation/Rules/CardNumberRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
it('must be a invalid card number with enum', function () {
3232
expect(
3333
fn () => validateRule(CardNumberRule::class, '2131 1356 1381 3510', CardType::visa)
34-
)->toThrow(Exception::class, 'The :attribute must be a valid card number.');
34+
)->toThrow(Exception::class, 'The :attribute field must be a valid card number.');
3535
});
3636

3737
it('must be a invalid card number with string', function () {
3838
expect(
3939
fn () => validateRule(CardNumberRule::class, '2131 1356 1381 3510', 'visa')
40-
)->toThrow(Exception::class, 'The :attribute must be a valid card number.');
40+
)->toThrow(Exception::class, 'The :attribute field must be a valid card number.');
4141
});
4242

4343
it('should check for the valid card type', function () {

0 commit comments

Comments
 (0)