Created
April 30, 2016 13:40
-
-
Save talha08/c85dd53e7f2264036f4ba95d06029bab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function setUp() | |
{ | |
parent::setUp(); | |
Route::enableFilters(); | |
Artisan::call('migrate'); | |
Artisan::call('db:seed'); | |
Auth::loginUsingId(1); | |
// OR: | |
//$this->be(User::find(1)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment