public function setUp() { parent::setUp(); $this->faker = \Faker\Factory::create(); $this->artisan = $this->app['Illuminate\\Contracts\\Console\\Kernel']; $this->setupDbConnection(); }
public function setUp() { parent::setUp(); 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(); 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->captcha_field = "captcha_text"; }
public function setUp() { parent::setUp(); }
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->sentry_auth_helper = new SentryAuthenticationHelper(); }