File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ public function testGetValidationMessages(): void
373
373
/**
374
374
* @see https://github.com/codeigniter4/CodeIgniter4/issues/6577
375
375
*/
376
- public function testUpdateEntityWithCleanRulesFalse ()
376
+ public function testUpdateEntityWithPropertyCleanValidationRulesTrueAndCallingCleanRulesFalse ()
377
377
{
378
378
$ model = new class () extends Model {
379
379
protected $ table = 'test ' ;
@@ -400,7 +400,7 @@ public function testUpdateEntityWithCleanRulesFalse()
400
400
// Change field1 value.
401
401
$ entity ->field1 = '' ;
402
402
403
- // Set $cleanValidationRules to false.
403
+ // Set $cleanValidationRules to false by cleanRules()
404
404
$ model ->cleanRules (false )->save ($ entity );
405
405
406
406
$ errors = $ model ->errors ();
@@ -411,7 +411,7 @@ public function testUpdateEntityWithCleanRulesFalse()
411
411
);
412
412
}
413
413
414
- public function testUpdateEntityWithCleanValidationRulesFalse ()
414
+ public function testUpdateEntityWithPropertyCleanValidationRulesFalse ()
415
415
{
416
416
$ model = new class () extends Model {
417
417
protected $ table = 'test ' ;
You can’t perform that action at this time.
0 commit comments