From 7ae36c6915a19cff43c47940aac6cf4a63fa7452 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/system/Validation/ValidationTest.php b/tests/system/Validation/ValidationTest.php index 1c42b263b499..8484693a7623 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,