Skip to content

Commit 11e2f02

Browse files
committed
Update authenticatorData
1 parent 25128f7 commit 11e2f02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/org/purejava/UnlockedDatabaseTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void shouldHaveNoErrors() throws InterruptedException {
6060
assertTrue(kpa.databaseGroupsToMap(kpa.getDatabaseGroups()).toString().contains("KeePassXC-Browser Passwords"));
6161
assertFalse(kpa.generatePassword().isEmpty());
6262
LOG.info("Please allow to create new group");
63-
assertEquals(kpa.createNewGroup("Testgroup").get("name"), "Testgroup");
63+
assertEquals("Testgroup", kpa.createNewGroup("Testgroup").get("name"));
6464
assertTrue(null != kpa.getTotp("2aafee1a89fd435c8bad7df12bbaaa3e") && !kpa.getTotp("2aafee1a89fd435c8bad7df12bbaaa3e").isEmpty());
6565
LOG.info("Requesting autotype");
6666
assertTrue(kpa.requestAutotype("https://github.com"));
@@ -88,7 +88,7 @@ public void shouldHaveNoErrors() throws InterruptedException {
8888
"\"userVerification\":\"preferred\"}";
8989
p = new JSONObject(publicKey);
9090
assertEquals(
91-
"dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvAFAAAAAA",
91+
"dKbqkhPJnC90siSSsyDPQCYqlMGpUKA5fyklC2CEHvAdAAAAAA",
9292
kpa.passkeysGet(p, "https://webauthn.io", l).getJSONObject("response").getString("authenticatorData")
9393
);
9494
LOG.info("Please deny to save changes");

0 commit comments

Comments
 (0)