summaryrefslogtreecommitdiff
path: root/eaaf_modules/eaaf_module_pvp2_idp/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'eaaf_modules/eaaf_module_pvp2_idp/src/test')
-rw-r--r--eaaf_modules/eaaf_module_pvp2_idp/src/test/java/at/gv/egiz/eaaf/modules/pvp2/idp/test/AuthenticationActionTest.java25
1 files changed, 14 insertions, 11 deletions
diff --git a/eaaf_modules/eaaf_module_pvp2_idp/src/test/java/at/gv/egiz/eaaf/modules/pvp2/idp/test/AuthenticationActionTest.java b/eaaf_modules/eaaf_module_pvp2_idp/src/test/java/at/gv/egiz/eaaf/modules/pvp2/idp/test/AuthenticationActionTest.java
index df5c15f8..cab14a5d 100644
--- a/eaaf_modules/eaaf_module_pvp2_idp/src/test/java/at/gv/egiz/eaaf/modules/pvp2/idp/test/AuthenticationActionTest.java
+++ b/eaaf_modules/eaaf_module_pvp2_idp/src/test/java/at/gv/egiz/eaaf/modules/pvp2/idp/test/AuthenticationActionTest.java
@@ -157,10 +157,6 @@ public class AuthenticationActionTest {
return null;
}
- @Override
- public String getFormatedDateOfBirth() {
- return DateFormatUtils.format(getDateOfBirth(), "yyyy-MM-dd");
- }
@Override
public String getFamilyName() {
@@ -184,13 +180,7 @@ public class AuthenticationActionTest {
public String getEidasQaaLevel() {
return EaafConstants.EIDAS_LOA_LOW;
}
-
- @Override
- public Date getDateOfBirth() {
- return new Date();
-
- }
-
+
@Override
public String getCiticenCountryCode() {
// TODO Auto-generated method stub
@@ -221,6 +211,19 @@ public class AuthenticationActionTest {
public Date getAuthenticationIssueInstant() {
return new Date();
}
+
+ @Override
+ public String getDateOfBirth() {
+ return RandomStringUtils.randomNumeric(4) + "-" + RandomStringUtils.randomNumeric(2) + "-"
+ + RandomStringUtils.randomNumeric(2);
+
+ }
+
+ @Override
+ public String getDateOfBirthFormated(String pattern) {
+ // TODO Auto-generated method stub
+ return null;
+ }
};
}