protected function setUp() { parent::setUp(); $this->playerService = $this->game->get("player_service"); $this->playerRegistrationService = $this->game->get("player_registration_service"); $this->accountService = $this->game->get("account_service"); $this->authService = $this->game->get("auth_service"); $playerData = new PlayerDataHelper(); $playerData->name = "11qq22ww"; $playerData->class = Player::WARRIOR; $playerData->race = Player::DARK_ELVEN; $playerData->sex = Player::MALE; $this->playerData = $playerData; $this->entityClass = "Likedimion\\Database\\Entity\\Player"; $this->tokenEntityClass = "Likedimion\\Database\\Entity\\Token"; }
protected function setUp() { parent::setUp(); $this->accountService = $this->game->get("account_service"); $this->playerService = $this->game->get("player_service"); }