Skip to content

Commit

Permalink
apply style-ci fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Indemnity83 committed Mar 11, 2018
1 parent 591d219 commit 889970a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/Database/EloquentFactoryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ protected function getEnvironmentSetUp($app)
return [
'user_id' => function () {
return factory(FactoryBuildableUser::class)->create()->id;
}
},
];
});

$factory->after(FactoryBuildableUser::class, 'make', function (FactoryBuildableUser $user, Generator $faker) {
$profile =factory(FactoryBuildableProfile::class)->make(['user_id' => $user->id]);
$profile = factory(FactoryBuildableProfile::class)->make(['user_id' => $user->id]);
$user->setRelation('profile', $profile);
});

Expand Down

0 comments on commit 889970a

Please sign in to comment.