/** * @param UserInterface $user * @return void */ public function login(UserInterface $user) { parent::loginAs($user, 'main'); $this->client = static::makeClient(); $this->client->followRedirects(true); }