Skip to content

Commit

Permalink
Merge pull request #6365 from jburel/admintest_deprecated
Browse files Browse the repository at this point in the history
remove setHostName by setHost
  • Loading branch information
jburel authored Nov 27, 2023
2 parents a0faef4 + 9215ce8 commit 98949aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2010,7 +2010,7 @@ public void testCreateRestrictedSystemUserWithPassword() throws ServerError, DSO
}
Assert.assertTrue(isInSystemGroup, "new light system user must be member of system group");
final LoginCredentials credentials = new LoginCredentials();
credentials.getServer().setHostname(root.getProperty("omero.host"));
credentials.getServer().setHost(root.getProperty("omero.host"));
credentials.getServer().setPort(Integer.parseInt(root.getProperty("omero.port")));
credentials.getUser().setUsername(lightAdminName);
credentials.getUser().setPassword(lightAdminPassword);
Expand Down

0 comments on commit 98949aa

Please sign in to comment.