From b0ff3b4dbe712cbb8f67617dc65543faff3a296c Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 23 Oct 2023 11:27:42 +0900 Subject: [PATCH] test: fix incorrect param value types --- tests/system/Validation/CreditCardRulesTest.php | 2 +- tests/system/Validation/StrictRules/CreditCardRulesTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system/Validation/CreditCardRulesTest.php b/tests/system/Validation/CreditCardRulesTest.php index 397675270eda..a37ac9b825bb 100644 --- a/tests/system/Validation/CreditCardRulesTest.php +++ b/tests/system/Validation/CreditCardRulesTest.php @@ -73,7 +73,7 @@ public function provideValidCCNumber(): iterable ], 'random_test' => [ 'amex', - $this->generateCardNumber('37', 16), + $this->generateCardNumber(37, 16), false, ], 'invalid_type' => [ diff --git a/tests/system/Validation/StrictRules/CreditCardRulesTest.php b/tests/system/Validation/StrictRules/CreditCardRulesTest.php index 2e685c852e55..abc53f4f1642 100644 --- a/tests/system/Validation/StrictRules/CreditCardRulesTest.php +++ b/tests/system/Validation/StrictRules/CreditCardRulesTest.php @@ -74,7 +74,7 @@ public function provideValidCCNumber(): iterable ], 'random_test' => [ 'amex', - $this->generateCardNumber('37', 16), + $this->generateCardNumber(37, 16), false, ], 'invalid_type' => [