Exemplo n.º 1
0
 function test_updateStylist()
 {
     $stylist_name = "Mike Heroku";
     $id = null;
     $test_stylist = new Stylist($stylist_name, $id);
     $test_stylist->save();
     $new_stylist_name = "Kyle Sites";
     $test_stylist->updateStylist($new_stylist_name);
     $this->assertEquals("Kyle Sites", $test_stylist->getStylistName());
 }