/**
  * @test
  **/
 public function canUpdateCustomField()
 {
     $this->stopPermissionCheckEvent();
     $field_value = "value1";
     $profile_type = $this->custom_profile_1->addNewType("desc1");
     $this->createCustomField($profile_type->id, $field_value);
     $new_value = "value2";
     $this->custom_profile_1->setField($profile_type->id, $new_value);
     $total_fields = 1;
     $this->assertEquals($total_fields, ProfileField::all()->count());
     $this->assertEquals($new_value, ProfileField::first()->value);
 }