From d3b8f54d7d0b59acc2003ab28f7b940a9fed05c1 Mon Sep 17 00:00:00 2001
From: Thomas Woerner <twoerner@redhat.com>
Date: Thu, 20 Jan 2022 14:13:32 +0100
Subject: [PATCH] User tests: Extend expiration dates for client on server test

The client context on server test is failing with a date that is
expired. The server context on server test is not failing.

Setting an expired date with the command line is possible though.
---
 tests/user/test_user.yml  | 4 ++--
 tests/user/test_users.yml | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/user/test_user.yml b/tests/user/test_user.yml
index e9eaaa3f..d61ae521 100644
--- a/tests/user/test_user.yml
+++ b/tests/user/test_user.yml
@@ -51,8 +51,8 @@
       gid: 100
       phone: "+555123457"
       email: pinky@acme.com
-      principalexpiration: "20220119235959"
-      #passwordexpiration: "2022-01-19 23:59:59"
+      principalexpiration: "21220119235959"
+      passwordexpiration: "2122-01-19 23:59:59"
       first: pinky
       last: Acme
       initials: pa
diff --git a/tests/user/test_users.yml b/tests/user/test_users.yml
index 3b457d42..404b86b2 100644
--- a/tests/user/test_users.yml
+++ b/tests/user/test_users.yml
@@ -143,8 +143,8 @@
       gid: 100
       phone: "+555123457"
       email: pinky@acme.com
-      principalexpiration: "20220119235959"
-      #passwordexpiration: "2022-01-19 23:59:59"
+      principalexpiration: "21220119235959"
+      passwordexpiration: "2122-01-19 23:59:59"
       first: pinky
       last: Acme
       initials: pa
@@ -186,8 +186,8 @@
       gid: 100
       phone: "+555123457"
       email: pinky@acme.com
-      principalexpiration: "20220119235959"
-      #passwordexpiration: "2022-01-19 23:59:59"
+      principalexpiration: "21220119235959"
+      passwordexpiration: "2122-01-19 23:59:59"
       first: pinky
       last: Acme
       initials: pa
-- 
GitLab