Skip to content

Commit

Permalink
issue
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Rol <[email protected]>
  • Loading branch information
rolnico committed Jan 30, 2024
1 parent b0c41ad commit 452a951
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ protected void testUpdateNodeMetadata(NodeInfo rootFolderInfo, AppStorage storag
assertEventStack(new NodeMetadataUpdated(node.getId(), metadata));

metadata.setString("test", "test");
assertThat(node.getGenericMetadata().getStrings().keySet().size()).isZero();
assertThat(node.getGenericMetadata().getStrings().keySet()).isEmpty();

storage.setMetadata(node.getId(), cloneMetadata(metadata));
storage.flush();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@
*/
public class SimpleKeyGenerator implements KeyGenerator {

private static final String SIMPLE_KEY = "simplekey";

@Override
public Key generateKey() {
return Jwts.SIG.HS512.key().build();
// return new SecretKeySpec(SIMPLE_KEY.getBytes(), 0, SIMPLE_KEY.getBytes().length, "HMAC-SHA-256");
}
}

0 comments on commit 452a951

Please sign in to comment.