fix unit tests

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1443280 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2013-02-06 23:59:33 +00:00
parent 0f9d0ff76e
commit 33527242fb
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public class ArchivaConfigurationTest
ManagedRepositoryConfiguration repository = configuration.getManagedRepositories().get( 0 ); ManagedRepositoryConfiguration repository = configuration.getManagedRepositories().get( 0 );
assertEquals( "check managed repositories", "${appserver.base}/data/repositories/internal", assertEquals( "check managed repositories", "${appserver.base}/repositories/internal",
repository.getLocation() ); repository.getLocation() );
assertEquals( "check managed repositories", "Archiva Managed Internal Repository", repository.getName() ); assertEquals( "check managed repositories", "Archiva Managed Internal Repository", repository.getName() );
assertEquals( "check managed repositories", "internal", repository.getId() ); assertEquals( "check managed repositories", "internal", repository.getId() );
@ -546,7 +546,7 @@ public class ArchivaConfigurationTest
ManagedRepositoryConfiguration repository = configuration.getManagedRepositories().get( 0 ); ManagedRepositoryConfiguration repository = configuration.getManagedRepositories().get( 0 );
assertEquals( "check managed repositories", "${appserver.base}/data/repositories/internal", assertEquals( "check managed repositories", "${appserver.base}/repositories/internal",
repository.getLocation() ); repository.getLocation() );
assertEquals( "check managed repositories", "Archiva Managed Internal Repository", repository.getName() ); assertEquals( "check managed repositories", "Archiva Managed Internal Repository", repository.getName() );
assertEquals( "check managed repositories", "internal", repository.getId() ); assertEquals( "check managed repositories", "internal", repository.getId() );