浏览代码

oups olamy failed the build

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163271 13f79535-47bb-0310-9956-ffa450edef68
tags/archiva-1.4-M1
Olivier Lamy 12 年前
父节点
当前提交
8b766739ad

+ 2
- 2
archiva-modules/archiva-base/archiva-repository-admin/src/test/java/org/apache/archiva/admin/repository/managed/ManagedRepositoryAdminTest.java 查看文件

@@ -153,7 +153,7 @@ public class ManagedRepositoryAdminTest

repo.setName( newName );

repo.setLocation( APPSERVER_BASE_PATH + "new-path" );
repo.setLocation( APPSERVER_BASE_PATH + "/new-path" );

managedRepositoryAdmin.updateManagedRepository( repo, false, getFakeAuditInformation() );

@@ -162,7 +162,7 @@ public class ManagedRepositoryAdminTest
assertEquals( newName, repo.getName() );
assertEquals( new File( APPSERVER_BASE_PATH + "/new-path" ).getCanonicalPath(),
new File( repo.getLocation() ).getCanonicalPath() );
assertTrue( new File( APPSERVER_BASE_PATH + "new-path" ).exists() );
assertTrue( new File( APPSERVER_BASE_PATH + "/new-path" ).exists() );

assertTrue(
roleManager.templatedRoleExists( ArchivaRoleConstants.TEMPLATE_REPOSITORY_OBSERVER, "test-new-one" ) );

正在加载...
取消
保存