use of com.enonic.xp.security.EditableUser in project xp by enonic.
the class ModifyProfileHandlerTest method invokeUpdate.
private User invokeUpdate(final UpdateUserParams params, final User user) {
final UserEditor editor = params.getEditor();
assertNotNull(editor);
final EditableUser editable = new EditableUser(user);
editor.edit(editable);
return editable.build();
}
use of com.enonic.xp.security.EditableUser in project xp by enonic.
the class ModifyUserHandlerTest method invokeUpdate.
private User invokeUpdate(final UpdateUserParams params) {
final UserEditor editor = params.getEditor();
assertNotNull(editor);
final User user = TestDataFixtures.getTestUser();
final EditableUser editable = new EditableUser(user);
editor.edit(editable);
return editable.build();
}
Aggregations