From f326771aaf06c9a3392f381854a371213036d5f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Fri, 12 Jan 2024 11:03:14 +0900 Subject: [PATCH] =?UTF-8?q?id=E3=82=92=E6=AD=A3=E3=81=97=E3=81=8F=E8=BF=94?= =?UTF-8?q?=E3=81=99=E3=82=88=E3=81=86=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/data/impl/LacertaLibraryStubImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryStubImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryStubImpl.java index b4f143a3..1223387d 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryStubImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryStubImpl.java @@ -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: 更新日のほうが古くなることがあるのでなんとかする?