Migrate creationDate and lastModified

This commit is contained in:
René Pfeuffer
2019-05-31 15:57:30 +02:00
parent 9a18facbf5
commit a91177a2d7
3 changed files with 39 additions and 12 deletions

View File

@@ -97,7 +97,14 @@ class XmlUserV1UpdateStepTest {
.hasFieldOrPropertyWithValue("displayName", "SCM Administrator")
.hasFieldOrPropertyWithValue("active", false)
.hasFieldOrPropertyWithValue("password", "ff8f5c593a01f9fcd3ed48b09a4b013e8d8f3be7")
.hasFieldOrPropertyWithValue("type", "xml");
.hasFieldOrPropertyWithValue("type", "xml")
.hasFieldOrPropertyWithValue("lastModified", 1558597367492L)
.hasFieldOrPropertyWithValue("creationDate", 1558597074732L);
}
}
@Test
void shouldNotFailForMissingConfigDir() throws JAXBException {
updateStep.doUpdate();
}
}