Skip to content

Commit

Permalink
Test removing a rule on a previously removed field
Browse files Browse the repository at this point in the history
  • Loading branch information
WrDX committed Mar 14, 2018
1 parent 1f0c973 commit b225443
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Test/Case/Model/ModelValidationTest.php
Expand Up @@ -2007,6 +2007,9 @@ public function testRemoveRule() {
$this->assertTrue(isset($Validator['other']));
$this->assertFalse(isset($Validator['other']['numeric']));
$this->assertTrue(isset($Validator['other']['between']));

$Validator->remove('other');
$Validator->remove('other', 'between');
}

/**
Expand Down

0 comments on commit b225443

Please sign in to comment.