Skip to content
Permalink
Browse files

Prove Validator.multipleOptions is broken

  • Loading branch information...
coryjthompson committed Jan 22, 2017
1 parent 783cfd1 commit a7645d6b5a8bbd0036283e598bca0a2690ee18df
Showing with 9 additions and 0 deletions.
  1. +9 −0 tests/TestCase/Validation/ValidatorTest.php
@@ -1790,9 +1790,18 @@ public function testMultiple()
$validator,
'multipleOptions',
['min' => 1, 'caseInsensitive' => true],
[['min' => 1], true],
'multiple'
);
$this->assertProxyMethod(
$validator,
'multipleOptions',
['min' => 1, 'caseInsensitive' => false],
[['min' => 1], false],
'multiple'
);
$this->assertNotEmpty($validator->errors(['username' => '']));
}

0 comments on commit a7645d6

Please sign in to comment.
You can’t perform that action at this time.