Skip to content

Commit

Permalink
Update TestFunctions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Torann authored Apr 27, 2017
1 parent 7f60fb3 commit fa0b28f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/TestFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ function config($key = null, $default = null)
}

if (! function_exists('app')) {
function app($key = null)
function app($key = null, $default = null)
{
return \Torann\LaravelRepository\Test\TestCase::$functions->app($key);
return \Torann\LaravelRepository\Test\TestCase::$functions->app($key, $default);
}
}
}

0 comments on commit fa0b28f

Please sign in to comment.