mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-02 12:49:11 +01:00
added RepositorySimplePermissionITCase
This commit is contained in:
@@ -254,9 +254,9 @@ public abstract class AbstractPermissionITCaseBase<T>
|
||||
@Test
|
||||
public void get()
|
||||
{
|
||||
WebResource wr = createResource(client, getBasePath());
|
||||
WebResource wr = createResource(client, getGetPath());
|
||||
|
||||
checkResponse(wr.get(ClientResponse.class));
|
||||
checkGetResponse(wr.get(ClientResponse.class));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -268,11 +268,33 @@ public abstract class AbstractPermissionITCaseBase<T>
|
||||
{
|
||||
WebResource wr = createResource(client, getBasePath());
|
||||
|
||||
checkResponse(wr.get(ClientResponse.class));
|
||||
checkGetAllResponse(wr.get(ClientResponse.class));
|
||||
}
|
||||
|
||||
//~--- methods --------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @param response
|
||||
*/
|
||||
protected void checkGetAllResponse(ClientResponse response)
|
||||
{
|
||||
checkResponse(response);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
*
|
||||
* @param response
|
||||
*/
|
||||
protected void checkGetResponse(ClientResponse response)
|
||||
{
|
||||
checkResponse(response);
|
||||
}
|
||||
|
||||
/**
|
||||
* Method description
|
||||
*
|
||||
@@ -326,5 +348,5 @@ public abstract class AbstractPermissionITCaseBase<T>
|
||||
protected Client client;
|
||||
|
||||
/** Field description */
|
||||
private Credentials credentials;
|
||||
protected Credentials credentials;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user