public function setUp() { parent::setUp(); $this->validator = new UserValidator(); $this->validator->resetStatic(); $this->initializeUserHasher(); }
public function setUp() { parent::setUp(); $this->faker = \Faker\Factory::create(); $this->custom_type_repository = App::make('custom_profile_repository'); $this->initializeUserHasher(); }
public function setUp() { parent::setUp(); $this->route_helper = new FileRouteHelper(); $this->initializeUserHasher(); $this->createAndLoginUserWithPermissions(["_perm" => 1]); }
public function setUp() { parent::setUp(); $this->initializeUserHasher(); $this->current_user = $this->make('LaravelAcl\\Authentication\\Models\\User', $this->getUserStub())->first(); $this->current_email = $this->current_user->email; }
public function setUp() { parent::setUp(); $this->dbSeeder = $seeder = new DatabaseSeeder(); $this->user_repository = App::make('user_repository'); $this->permission_repository = App::make('permission_repository'); $this->group_repository = App::make('group_repository'); }
public function setUp() { parent::setUp(); $active = 1; $this->createUserWithPerm(["_perm" => $active]); $group_class = 'LaravelAcl\\Authentication\\Models\\Group'; $this->make($group_class, $this->getModelGroupStub()); }
public function setUp() { parent::setUp(); $this->repository_search = new UserRepositorySearchFilter(); $this->user_repository = new SentryUserRepository(); $this->profile_repository = App::make('profile_repository'); $this->initializeUserHasher(); $this->multiple_ordering_separator = UserRepositorySearchFilter::$multiple_ordering_separator; }
public function setUp() { parent::setUp(); $this->setAvatarDefaultPath(); $this->useGravatar(true); $this->faker = \Faker\Factory::create(); $this->initializeUserWithProfile(); $this->presenter = new UserProfilePresenter($this->user_profile); $this->user_profile->avatar = rand(10000, 100001); $this->getExpectedAvatar(30); }
public function setUp() { parent::setUp(); $this->profile_repository = App::make('profile_repository'); $this->initializeUserHasher(); $users = $this->times(2)->make('LaravelAcl\\Authentication\\Models\\User', function () { return $this->getUserStub(); }); $this->user_1 = $users[0]; $this->user_2 = $users[1]; $this->profile_1 = $this->profile_repository->attachEmptyProfile($this->user_1); $this->profile_2 = $this->profile_repository->attachEmptyProfile($this->user_2); $this->custom_profile_1 = new CustomProfileRepository($this->profile_1->id); $this->custom_profile_2 = new CustomProfileRepository($this->profile_2->id); }
public function setUp() { parent::setUp(); $this->u_r = App::make('user_repository'); }
public function setUp() { parent::setUp(); $this->initializeUserHasher(); $this->repo_profile = new EloquentUserProfileRepository(); }
public function setUp() { parent::setUp(); $this->user_repository = new SentryUserRepository(); }
public function setUp() { parent::setUp(); $this->model_stub = new TransactionStub(); $this->model_stub->createSchema(); }
public function setUp() { parent::setUp(); $this->initializeUserHasher(); }
public function setUp() { parent::setUp(); $this->token = "pseudorandom_token"; $this->reminder = new Reminder(); }
public function setUp() { parent::setUp(); $this->authenticator = new SentryAuthenticator(); $this->initializeUserHasher(); }
public function setUp() { parent::setUp(); $this->profile_model = new UserProfile(); }
public function setUp() { parent::setUp(); $this->group_repository = new SentryGroupRepository(); $this->group_class = 'LaravelAcl\\Authentication\\Models\\Group'; }
public function setUp() { parent::setUp(); $this->voidRepository = new VoidRepository(); App::instance('user_repository', $this->voidRepository); }
public function setUp() { parent::setUp(); $this->user_repository = App::make('user_repository'); $this->user_statistics = new UserStatistics(); }