mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
added integration tests for modify repositories
This commit is contained in:
@@ -46,8 +46,6 @@ import sonia.scm.user.User;
|
||||
|
||||
import com.sun.jersey.api.client.Client;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
|
||||
@@ -166,7 +166,7 @@ public class JerseyRepositoryClientHandler implements RepositoryClientHandler
|
||||
|
||||
try
|
||||
{
|
||||
response = resource.post(ClientResponse.class, repository);
|
||||
response = resource.put(ClientResponse.class, repository);
|
||||
ClientUtil.checkResponse(response, 204);
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user