idを正しく返すように修正

This commit is contained in:
ろむねこ 2024-01-12 11:03:14 +09:00
parent d2ebed3934
commit f326771aaf
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -115,9 +115,9 @@ public class LacertaLibraryStubImpl implements LacertaLibrary {
return libraryItemPage;
}
private DocumentDetail generateStubDocumentDetail() {
private DocumentDetail generateStubDocumentDetail(String id) {
DocumentMeta documentMeta = new DocumentMeta();
documentMeta.setId(UUID.randomUUID().toString());
documentMeta.setId(id);
documentMeta.setTitle("FakeDocument" + faker.book().title());
documentMeta.setCreatedAt(faker.date().birthday());
documentMeta.setUpdatedAt(faker.date().birthday()); // TODO-rca: 更新日のほうが古くなることがあるのでなんとかする