aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/test/java/at/gv/egovernment/moa
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-06-19 10:59:09 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-06-19 11:10:50 +0200
commitc276e33e5ebdebc1c727dbd93ea1f876588a0dec (patch)
tree421ad087eefdea0848848012f4dce5efd7c93dce /id/server/moa-id-commons/src/test/java/at/gv/egovernment/moa
parent8ec83e5be6888c9e5aeb8d21a35eb4d7ec040f67 (diff)
downloadmoa-id-spss-c276e33e5ebdebc1c727dbd93ea1f876588a0dec.tar.gz
moa-id-spss-c276e33e5ebdebc1c727dbd93ea1f876588a0dec.tar.bz2
moa-id-spss-c276e33e5ebdebc1c727dbd93ea1f876588a0dec.zip
refactor MOA-ID AuthConfiguration
Diffstat (limited to 'id/server/moa-id-commons/src/test/java/at/gv/egovernment/moa')
-rw-r--r--id/server/moa-id-commons/src/test/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBReadTest.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/id/server/moa-id-commons/src/test/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBReadTest.java b/id/server/moa-id-commons/src/test/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBReadTest.java
index 7b596fab8..c8a234565 100644
--- a/id/server/moa-id-commons/src/test/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBReadTest.java
+++ b/id/server/moa-id-commons/src/test/java/at/gv/egovernment/moa/id/commons/db/ConfigurationDBReadTest.java
@@ -20,9 +20,8 @@ import org.springframework.test.annotation.IfProfileValue;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
-import at.gv.egovernment.moa.id.commons.config.persistence.Configuration;
+import at.gv.egovernment.moa.id.commons.config.persistence.MOAIDConfiguration;
import at.gv.egovernment.moa.id.commons.db.dao.config.AuthComponentGeneral;
-import at.gv.egovernment.moa.id.commons.db.dao.config.MOAIDConfiguration;
import at.gv.egovernment.moa.id.commons.db.ex.MOADatabaseException;
import com.fasterxml.jackson.annotation.JsonProperty;
@@ -33,7 +32,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
public class ConfigurationDBReadTest {
@Autowired
- Configuration configDataBase;
+ MOAIDConfiguration configDataBase;
private Properties getHibernateProperties() throws FileNotFoundException, IOException {
@@ -93,11 +92,11 @@ public class ConfigurationDBReadTest {
SecurityException {
// get the old moaid configuration
- MOAIDConfiguration oldConfig = ConfigurationDBRead.getMOAIDConfiguration();
+ at.gv.egovernment.moa.id.commons.db.dao.config.MOAIDConfiguration oldConfig = ConfigurationDBRead.getMOAIDConfiguration();
// get the a new moaid configuration from the data in the key value
// database
- MOAIDConfiguration newConfig = NewConfigurationDBRead.getMOAIDConfiguration();
+ at.gv.egovernment.moa.id.commons.db.dao.config.MOAIDConfiguration newConfig = NewConfigurationDBRead.getMOAIDConfiguration();
// check if both configurations yield a similar MOAIDConfiguration
// object
@@ -111,14 +110,14 @@ public class ConfigurationDBReadTest {
SecurityException {
// get the old moaid configuration
- MOAIDConfiguration oldConfig = ConfigurationDBRead.getMOAIDConfiguration();
+ at.gv.egovernment.moa.id.commons.db.dao.config.MOAIDConfiguration oldConfig = ConfigurationDBRead.getMOAIDConfiguration();
// delete part of the configuration
oldConfig.setAuthComponentGeneral(new AuthComponentGeneral());
// get the a new moaid configuration from the data in the key value
// database
- MOAIDConfiguration newConfig = NewConfigurationDBRead.getMOAIDConfiguration();
+ at.gv.egovernment.moa.id.commons.db.dao.config.MOAIDConfiguration newConfig = NewConfigurationDBRead.getMOAIDConfiguration();
// check if both configurations yield a similar MOAIDConfiguration
// object