Skip to content

Commit

Permalink
Applied fixes from StyleCI (#15808)
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Oct 7, 2016
1 parent 1861ed3 commit 1fdfee6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Validation/ValidationValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ public function testValidateUniqueAndExistsSendsCorrectFieldNameToDBWithArrays()
{
$trans = $this->getIlluminateArrayTranslator();
$v = new Validator($trans, [['email' => 'foo', 'type' => 'bar']], [
'*.email' => 'unique:users', '*.type' => 'exists:user_types'
'*.email' => 'unique:users', '*.type' => 'exists:user_types',
]);
$mock = m::mock('Illuminate\Validation\PresenceVerifierInterface');
$mock->shouldReceive('setConnection')->twice()->with(null);
Expand All @@ -1437,7 +1437,8 @@ public function testValidateUniqueAndExistsSendsCorrectFieldNameToDBWithArrays()


$trans = $this->getIlluminateArrayTranslator();
$closure = function () {};
$closure = function () {
};
$v = new Validator($trans, [['email' => 'foo', 'type' => 'bar']], [
'*.email' => (new Unique('users'))->where($closure),
'*.type' => (new Exists('user_types'))->where($closure),
Expand Down

0 comments on commit 1fdfee6

Please sign in to comment.