Skip to content

Commit 77a17aa

Browse files
committed
test: rename test method
We use the word asterisk here.
1 parent 1b48e13 commit 77a17aa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/system/Validation/ValidationTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,17 +1228,17 @@ public function testTranslatedLabelTagReplacement(): void
12281228
}
12291229

12301230
/**
1231-
* @dataProvider provideDotNotationOnIfExistRule
1231+
* @dataProvider provideIfExistRuleWithAsterisk
12321232
*
12331233
* @see https://github.com/codeigniter4/CodeIgniter4/issues/4521
12341234
*/
1235-
public function testDotNotationOnIfExistRule(bool $expected, array $rules, array $data): void
1235+
public function testIfExistRuleWithAsterisk(bool $expected, array $rules, array $data): void
12361236
{
12371237
$actual = $this->validation->setRules($rules)->run($data);
12381238
$this->assertSame($expected, $actual);
12391239
}
12401240

1241-
public static function provideDotNotationOnIfExistRule(): iterable
1241+
public static function provideIfExistRuleWithAsterisk(): iterable
12421242
{
12431243
yield 'dot-on-end-fail' => [
12441244
false,
@@ -1613,7 +1613,7 @@ public function testRuleWithLeadingAsterisk(): void
16131613
/**
16141614
* @see https://github.com/codeigniter4/CodeIgniter4/issues/5942
16151615
*/
1616-
public function testRequireWithoutWithWildCard(): void
1616+
public function testRequireWithoutWithAsterisk(): void
16171617
{
16181618
$data = [
16191619
'a' => [

0 commit comments

Comments
 (0)