Skip to content

Commit

Permalink
fix test for php 32bit (#13440)
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid authored and taylorotwell committed May 5, 2016
1 parent a6ddacb commit 4219218
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Validation/ValidationValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2694,22 +2694,22 @@ public function testValidateImplicitEachWithAsterisksBeforeAndAfter()
$trans = $this->getRealTranslator();

$v = new Validator($trans, ['foo' => [
['start' => '2016-04-19', 'end' => '2046-04-19'],
['start' => '2016-04-19', 'end' => '2017-04-19'],
]], ['foo.*.start' => ['before:foo.*.end']]);
$this->assertTrue($v->passes());

$v = new Validator($trans, ['foo' => [
['start' => '2016-04-19', 'end' => '2046-04-19'],
['start' => '2016-04-19', 'end' => '2017-04-19'],
]], ['foo.*.end' => ['before:foo.*.start']]);
$this->assertTrue($v->fails());

$v = new Validator($trans, ['foo' => [
['start' => '2016-04-19', 'end' => '2046-04-19'],
['start' => '2016-04-19', 'end' => '2017-04-19'],
]], ['foo.*.end' => ['after:foo.*.start']]);
$this->assertTrue($v->passes());

$v = new Validator($trans, ['foo' => [
['start' => '2016-04-19', 'end' => '2046-04-19'],
['start' => '2016-04-19', 'end' => '2017-04-19'],
]], ['foo.*.start' => ['after:foo.*.end']]);
$this->assertTrue($v->fails());
}
Expand Down

0 comments on commit 4219218

Please sign in to comment.