Skip to content

Commit

Permalink
fix: minor fix in symmetrick key tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Jan 27, 2025
1 parent ea4bbe7 commit e7ba896
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void shouldTestSymmetricKeyCIKeyFailure() throws Exception {
final String password = "{'key':'AAC7LeGkFbmHEYNTz5GwDw=='}";

OrientDB serverAd =
new OrientDB("remote:localhost", "test", password, OrientDBConfig.defaultConfig());
new OrientDB("remote:localhost", "root", password, OrientDBConfig.defaultConfig());
serverAd.list();
serverAd.close();
} finally {
Expand All @@ -121,7 +121,7 @@ public void shouldTestSymmetricKeyCIKeyFile() throws Exception {

// The key file is specified for username "test2" in the security.json file.
OrientDB serverAd =
new OrientDB("remote:localhost", "test", password, OrientDBConfig.defaultConfig());
new OrientDB("remote:localhost", "test2", password, OrientDBConfig.defaultConfig());
serverAd.list();
serverAd.close();
} finally {
Expand All @@ -147,7 +147,7 @@ public void shouldTestSymmetricKeyCIKeyStore() throws Exception {

// The keystore is specified for username "test3" in the security.json file.
OrientDB serverAd =
new OrientDB("remote:localhost", "test", password, OrientDBConfig.defaultConfig());
new OrientDB("remote:localhost", "test3", password, OrientDBConfig.defaultConfig());
serverAd.list();
serverAd.close();
} finally {
Expand Down

0 comments on commit e7ba896

Please sign in to comment.