diff --git a/src/test/java/GeonetworkQueryTest.java b/src/test/java/GeonetworkQueryTest.java index ef43df5..2a66a09 100644 --- a/src/test/java/GeonetworkQueryTest.java +++ b/src/test/java/GeonetworkQueryTest.java @@ -26,7 +26,7 @@ public class GeonetworkQueryTest { private LoginLevel loginLevel = LoginLevel.CKAN; - private Type account = Type.CKAN; + private Type accountType = Type.CKAN; // @Test public void getCount() throws Exception{ @@ -37,7 +37,7 @@ public class GeonetworkQueryTest { reader.login(loginLevel); Configuration config = reader.getConfiguration(); - Account account=config.getScopeConfiguration().getAccounts().get(account); + Account account=config.getScopeConfiguration().getAccounts().get(accountType); System.out.println("User: "+account.getUser()+", Pwd: "+account.getPassword());