Esempio n. 1
0
 public function testUserFillableAttributesAreFillable()
 {
     $u = new User(array('first_name' => 'Joe', 'last_name' => 'Bloggs', 'email' => '*****@*****.**'));
     $this->assertEquals($u->getFirstName(), 'Joe');
     $this->assertEquals($u->getLastName(), 'Bloggs');
     $this->assertEquals($u->getReminderEmail(), '*****@*****.**');
 }
Esempio n. 2
0
 /**
  * {@inheritDoc}
  */
 public function update(User $user, array $attributes = array())
 {
     $user->fill($attributes);
 }