mirror of https://github.com/apache/archiva.git
Adapting to redback REST changes
This commit is contained in:
parent
833651d652
commit
780886fcdc
|
@ -168,7 +168,7 @@ public class DownloadArtifactsTest
|
|||
RoleManagementService roleManagementService = getRoleManagementService( authorizationHeader );
|
||||
|
||||
if ( !roleManagementService.templatedRoleExists( ArchivaRoleConstants.TEMPLATE_REPOSITORY_OBSERVER,
|
||||
"internal" ).isExists() )
|
||||
"internal" ) )
|
||||
{
|
||||
roleManagementService.createTemplatedRole( ArchivaRoleConstants.TEMPLATE_REPOSITORY_OBSERVER, "internal" );
|
||||
}
|
||||
|
|
|
@ -131,7 +131,7 @@ public class DownloadSnapshotTest
|
|||
RoleManagementService roleManagementService = getRoleManagementService( authorizationHeader );
|
||||
|
||||
if ( !roleManagementService.templatedRoleExists( ArchivaRoleConstants.TEMPLATE_REPOSITORY_OBSERVER,
|
||||
id ).isExists() )
|
||||
id ) )
|
||||
{
|
||||
roleManagementService.createTemplatedRole( ArchivaRoleConstants.TEMPLATE_REPOSITORY_OBSERVER, id );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue