mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
idを正しく返すように修正
This commit is contained in:
parent
d2ebed3934
commit
f326771aaf
|
@ -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: 更新日のほうが古くなることがあるのでなんとかする?
|
||||
|
|
Loading…
Reference in New Issue
Block a user