Skip to content

Commit

Permalink
Compare binary key to identifier in assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
yulgit1 authored and Andrew Woods committed Jun 4, 2014
1 parent 5296497 commit 0319dd1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -144,7 +144,7 @@ public void testPolicyDrivenStorage() throws Exception {

FixityResult e = fixity.iterator().next();

assertThat(e.getStoreIdentifier(), containsString("TransientBinaryStore"));
assertThat(e.getStoreIdentifier(), containsString(key.toString()));


fixity = datastreamService.getFixity(tiffNode.getNode(JcrConstants.JCR_CONTENT), null, 0L);
Expand All @@ -153,6 +153,6 @@ public void testPolicyDrivenStorage() throws Exception {

e = fixity.iterator().next();

assertThat(e.getStoreIdentifier(), containsString("FileSystemBinaryStore"));
assertThat(e.getStoreIdentifier(), containsString(tiffKey.toString()));
}
}

0 comments on commit 0319dd1

Please sign in to comment.