Skip to content

Commit

Permalink
Fixed definition of app hostname for the auth token model factory
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Jul 27, 2015
1 parent 015b4b3 commit a75a89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/database/factories/ModelFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@

$factory->define(App\Models\AuthToken::class, function ($faker) {

$hostname = env('APP_HOSTNAME', 'localhost');
$hostname = env('APP_HOST', 'localhost');

$user = factory(App\Models\User::class)->make();
$now = new Carbon();
Expand Down

0 comments on commit a75a89a

Please sign in to comment.