mirror of https://github.com/apache/archiva.git
add unit test for removeNamespace method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381576 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
911dd05b23
commit
dd0bc763b3
|
@ -134,6 +134,11 @@ public abstract class AbstractMetadataRepositoryTest
|
|||
repository.updateNamespace( TEST_REPO_ID, TEST_NAMESPACE );
|
||||
|
||||
assertEquals( Collections.singletonList( TEST_NAMESPACE ), repository.getRootNamespaces( TEST_REPO_ID ) );
|
||||
|
||||
repository.removeNamespace( TEST_REPO_ID, TEST_NAMESPACE );
|
||||
|
||||
assertTrue( repository.getRootNamespaces( TEST_REPO_ID ).isEmpty() );
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue