public function setUp() { parent::setUp(); $this->validator = m::mock('Djordje\\LaravelSentryBackend\\Services\\Validators\\UserCreateValidator'); $this->users = m::mock('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Users'); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Validators\\UserCreateValidator', $this->validator); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Users', $this->users); }
public function setUp() { parent::setUp(); $this->groups = m::mock('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Groups'); $this->users = m::mock('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Users'); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Groups', $this->groups); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Users', $this->users); }
public function setUp() { parent::setUp(); $this->users = m::mock('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Users'); $this->reset = m::mock('Djordje\\LaravelSentryBackend\\Services\\Notifiers\\PasswordReset'); $this->validator = m::mock('Djordje\\LaravelSentryBackend\\Services\\Validators\\PasswordResetValidator'); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Users', $this->users); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Notifiers\\PasswordReset', $this->reset); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Validators\\PasswordResetValidator', $this->validator); }
public function setUp() { parent::setUp(); $this->validator = m::mock('Djordje\\LaravelSentryBackend\\Services\\Validators\\UserCreateValidator'); $this->users = m::mock('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Users'); $this->auth = m::mock('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Auth'); $this->activation = m::mock('Djordje\\LaravelSentryBackend\\Services\\Notifiers\\AccountActivation'); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Validators\\UserCreateValidator', $this->validator); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Users', $this->users); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Auth', $this->auth); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Notifiers\\AccountActivation', $this->activation); }
public function setUp() { parent::setUp(); $this->auth = m::mock('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Auth'); $this->app->instance('Djordje\\LaravelSentryBackend\\Services\\Sentry\\Auth', $this->auth); }