Skip to content
Permalink
Browse files
fix unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/sandbox/trunk@1491363 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
olamy committed Jun 10, 2013
1 parent 8d0548e commit 8508111052bb484e35c2a3f42e8acc0a8cfc95e3
Showing 2 changed files with 2 additions and 2 deletions.
@@ -70,7 +70,7 @@ public void setUp()
this.cmr = new CassandraMetadataRepository( factories, null, cassandraEntityManagerFactory.getKeyspace() );
this.repository = this.cmr;

//clearReposAndNamespace();
clearReposAndNamespace();
}


@@ -91,7 +91,7 @@ public void testMetadataRepo()
Assertions.assertThat( cmr.getRepositories() ).isNotEmpty().hasSize( 1 );
Assertions.assertThat( cmr.getNamespaces( "release" ) ).isNotEmpty().hasSize( 1 );

n = cmr.getNamespaceEntityManager().get( "org" + "-" + "release" );
n = cmr.getNamespaceEntityManager().get( "release" + "-" + "org" );

Assertions.assertThat( n ).isNotNull();
Assertions.assertThat( n.getRepository() ).isNotNull();

0 comments on commit 8508111

Please sign in to comment.