Browse Source

Adapting to redback REST changes

pull/61/head
Martin Stockhammer 3 years ago
parent
commit
780886fcdc

+ 1
- 1
archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadArtifactsTest.java View File

@@ -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" );
}

+ 1
- 1
archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/remotedownload/DownloadSnapshotTest.java View File

@@ -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…
Cancel
Save