Fixed testing refresh token expiry.

Change-Id: Iee60f18acdf494b3e008c2363c21012456fd1e65
diff --git a/full/src/test/java/de/ids_mannheim/korap/web/controller/OAuth2ControllerTest.java b/full/src/test/java/de/ids_mannheim/korap/web/controller/OAuth2ControllerTest.java
index cf42f7e..0717d8e 100644
--- a/full/src/test/java/de/ids_mannheim/korap/web/controller/OAuth2ControllerTest.java
+++ b/full/src/test/java/de/ids_mannheim/korap/web/controller/OAuth2ControllerTest.java
@@ -973,7 +973,7 @@
     private void testRefreshTokenExpiry (String refreshToken)
             throws KustvaktException {
         RefreshToken token = refreshTokenDao.retrieveRefreshToken(refreshToken);
-        ZonedDateTime expiry = token.getCreatedDate().plusYears(1);
+        ZonedDateTime expiry = token.getCreatedDate().plusDays(365);
         assertTrue(expiry.equals(token.getExpiryDate()));
     }
 }