Skip to content

Commit

Permalink
fix test after flopping the order for breadcrump mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jun 20, 2013
1 parent ad7c0c3 commit cfe5a0a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -41,7 +41,7 @@ public void shouldConvertAUriToNodeBreadcrumbs() {

final Map<String,String> nodeBreadcrumbs = testObj.getNodeBreadcrumbs(mockUriInfo, ResourceFactory.createResource("http://localhost/fcrepo/a/b/c").asNode());

assertEquals(ImmutableMap.of("a", "http://localhost/fcrepo/a", "b", "http://localhost/fcrepo/a/b", "c", "http://localhost/fcrepo/a/b/c"), nodeBreadcrumbs);
assertEquals(ImmutableMap.of("http://localhost/fcrepo/a", "a", "http://localhost/fcrepo/a/b", "b", "http://localhost/fcrepo/a/b/c", "c"), nodeBreadcrumbs);
}

@Test
Expand Down

0 comments on commit cfe5a0a

Please sign in to comment.