mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
added integration test for JerseyUserClientHandler
This commit is contained in:
@@ -39,6 +39,7 @@ import sonia.scm.user.User;
|
||||
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
import com.sun.jersey.api.client.ClientResponse;
|
||||
import com.sun.jersey.api.client.GenericType;
|
||||
|
||||
import java.util.List;
|
||||
@@ -77,6 +78,20 @@ public class JerseyUserClientHandler extends AbstractClientHandler<User>
|
||||
;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @param response
|
||||
* @param item
|
||||
* @param newItem
|
||||
*/
|
||||
@Override
|
||||
protected void postCreate(ClientResponse response, User item, User newItem)
|
||||
{
|
||||
newItem.copyProperties(item);
|
||||
}
|
||||
|
||||
//~--- get methods ----------------------------------------------------------
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user