fix
This commit is contained in:
parent
8a595455d6
commit
2f10c85693
@ -97,7 +97,7 @@ public class ReMangaTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void testreader() {
|
void testReader() {
|
||||||
readerService.deleteAllReaders();
|
readerService.deleteAllReaders();
|
||||||
mangaService.deleteAllMangs();
|
mangaService.deleteAllMangs();
|
||||||
creatorService.deleteAllCreators();
|
creatorService.deleteAllCreators();
|
||||||
@ -113,7 +113,6 @@ public class ReMangaTest {
|
|||||||
|
|
||||||
Reader r1 = readerService.addReader("first_R", "1");
|
Reader r1 = readerService.addReader("first_R", "1");
|
||||||
Reader r2 = readerService.addReader("second_R", "2");
|
Reader r2 = readerService.addReader("second_R", "2");
|
||||||
log.info("ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ");
|
|
||||||
readerService.addManga(m1, r1);
|
readerService.addManga(m1, r1);
|
||||||
readerService.addManga(m2, r2);
|
readerService.addManga(m2, r2);
|
||||||
log.info(r1.getMangas().get(0).getCreator().toString());
|
log.info(r1.getMangas().get(0).getCreator().toString());
|
||||||
@ -126,7 +125,6 @@ public class ReMangaTest {
|
|||||||
|
|
||||||
log.info(m1.getReaders().toString());
|
log.info(m1.getReaders().toString());
|
||||||
log.info(c1.getId().toString());
|
log.info(c1.getId().toString());
|
||||||
log.info("ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ ХУЙ");
|
|
||||||
Assertions.assertEquals(r1, m1.getReaders().get(0));
|
Assertions.assertEquals(r1, m1.getReaders().get(0));
|
||||||
|
|
||||||
Reader r4 = readerService.updateReader(r3.getId(), "fourth_R", "3");
|
Reader r4 = readerService.updateReader(r3.getId(), "fourth_R", "3");
|
||||||
|
Loading…
Reference in New Issue
Block a user