public function setUp()
 {
     parent::setUp();
     $this->artisan = $this->app->make('artisan');
     $this->faker = \Faker\Factory::create();
     $this->setupDbConnection();
     $this->overwriteDatabasePresenceVerifierForTesting();
 }
 public function setUp()
 {
     parent::setUp();
     $this->app['router']->enableFilters();
     Route::get('check', ['before' => 'logged', 'uses' => function () {
         return '';
     }]);
     Route::get('check_custom', ['before' => "logged:{$this->custom_url}", 'uses' => function () {
         return '';
     }]);
 }
 public function setUp()
 {
     parent::setUp();
     $this->app['router']->enableFilters();
     Route::get('no_perm', function () {
         return '';
     });
     Route::get('with_perm', ['before' => ["has_perm:{$this->perm_1}"], 'uses' => function () {
         return '';
     }]);
     Route::get('with_perms', ['before' => ["has_perm:{$this->perm_1},{$this->perm_2}"], 'uses' => function () {
         return '';
     }]);
 }
 public function setUp()
 {
     parent::setUp();
     $this->sentry_auth_helper = new SentryAuthenticationHelper();
 }
 public function setUp()
 {
     parent::setUp();
     $this->captcha_validator = new CaptchaImplementationStub();
 }
 public function setUp()
 {
     parent::setUp();
     $this->gregWarCaptchaValidator = new GregWarCaptchaValidator();
 }
 public function setUp()
 {
     parent::setUp();
     $this->captcha_field = "captcha_text";
 }