/** * Sets the user config data. * * @param array $data * @return $this */ public function setUserData(array $data = []) { $this->repository->setUserData($data); return $this; }
/** @test */ public function it_can_set_the_user_data() { $this->repository->setUserData(['email' => '*****@*****.**', 'password' => 'secret', 'password_confirm' => 'secret']); $this->assertNotEmpty(array_filter($this->repository->getUserData())); }