Skip to content

Commit d83baa6

Browse files
committed
test: change method names
1 parent 68b50b7 commit d83baa6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/system/Models/ValidationModelTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public function testGetValidationMessages(): void
373373
/**
374374
* @see https://github.com/codeigniter4/CodeIgniter4/issues/6577
375375
*/
376-
public function testUpdateEntityWithCleanRulesFalse()
376+
public function testUpdateEntityWithPropertyCleanValidationRulesTrueAndCallingCleanRulesFalse()
377377
{
378378
$model = new class () extends Model {
379379
protected $table = 'test';
@@ -400,7 +400,7 @@ public function testUpdateEntityWithCleanRulesFalse()
400400
// Change field1 value.
401401
$entity->field1 = '';
402402

403-
// Set $cleanValidationRules to false.
403+
// Set $cleanValidationRules to false by cleanRules()
404404
$model->cleanRules(false)->save($entity);
405405

406406
$errors = $model->errors();
@@ -411,7 +411,7 @@ public function testUpdateEntityWithCleanRulesFalse()
411411
);
412412
}
413413

414-
public function testUpdateEntityWithCleanValidationRulesFalse()
414+
public function testUpdateEntityWithPropertyCleanValidationRulesFalse()
415415
{
416416
$model = new class () extends Model {
417417
protected $table = 'test';

0 commit comments

Comments
 (0)