From 77a17aac29c76c66019b61e31a5906072909d089 Mon Sep 17 00:00:00 2001 From: kenjis Date: Tue, 31 Oct 2023 09:27:04 +0900 Subject: [PATCH] test: rename test method We use the word asterisk here. --- tests/system/Validation/ValidationTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/system/Validation/ValidationTest.php b/tests/system/Validation/ValidationTest.php index 1c42b263b499..7f11b86d916a 100644 --- a/tests/system/Validation/ValidationTest.php +++ b/tests/system/Validation/ValidationTest.php @@ -1228,17 +1228,17 @@ public function testTranslatedLabelTagReplacement(): void } /** - * @dataProvider provideDotNotationOnIfExistRule + * @dataProvider provideIfExistRuleWithAsterisk * * @see https://github.com/codeigniter4/CodeIgniter4/issues/4521 */ - public function testDotNotationOnIfExistRule(bool $expected, array $rules, array $data): void + public function testIfExistRuleWithAsterisk(bool $expected, array $rules, array $data): void { $actual = $this->validation->setRules($rules)->run($data); $this->assertSame($expected, $actual); } - public static function provideDotNotationOnIfExistRule(): iterable + public static function provideIfExistRuleWithAsterisk(): iterable { yield 'dot-on-end-fail' => [ false, @@ -1613,7 +1613,7 @@ public function testRuleWithLeadingAsterisk(): void /** * @see https://github.com/codeigniter4/CodeIgniter4/issues/5942 */ - public function testRequireWithoutWithWildCard(): void + public function testRequireWithoutWithAsterisk(): void { $data = [ 'a' => [