|
@@ -36,9 +36,9 @@ public class InformationServiceTest {
|
|
|
|
|
|
|
|
@Test
|
|
@Test
|
|
|
public void test2() {
|
|
public void test2() {
|
|
|
- Information information = informationRepo.findById(47309L).orElse(null);
|
|
|
|
|
|
|
+ Information information = informationRepo.findById(32758L).orElse(null);
|
|
|
List<Information> related = informationService.related(information);
|
|
List<Information> related = informationService.related(information);
|
|
|
- related.forEach(re -> System.out.println(re.getId()));
|
|
|
|
|
|
|
+ related.forEach(re -> System.out.println(re.getCreatedAt()));
|
|
|
System.out.println(related.size());
|
|
System.out.println(related.size());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|