Example #1
0
 /**
  * Sets the user config data.
  *
  * @param  array  $data
  * @return $this
  */
 public function setUserData(array $data = [])
 {
     $this->repository->setUserData($data);
     return $this;
 }
Example #2
0
 /** @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()));
 }