@@ -89,15 +89,13 @@ describe('GuestbooksRepository', () => {
8989 test ( 'should list guestbooks for collection' , async ( ) => {
9090 await sut . createGuestbook ( testCollectionId , createGuestbookDTO )
9191 const actual = await sut . getGuestbooksBycollectionId ( testCollectionId )
92- console . log ( 'actual guestbooks: ' , actual )
9392 expect ( actual . length ) . toBeGreaterThan ( 0 )
9493 createdGuestbookId = actual [ 0 ] . id as number
9594 } )
9695
9796 test ( 'should list guestbooks for collection by collection alias' , async ( ) => {
9897 await sut . createGuestbook ( testCollectionAlias , createGuestbookDTO )
9998 const actual = await sut . getGuestbooksBycollectionId ( testCollectionAlias )
100- console . log ( 'actual guestbooks: ' , actual )
10199 expect ( actual . length ) . toBeGreaterThan ( 0 )
102100 } )
103101
@@ -110,7 +108,6 @@ describe('GuestbooksRepository', () => {
110108 test ( 'should get guestbook by id' , async ( ) => {
111109 await sut . createGuestbook ( testCollectionId , createGuestbookDTO )
112110 const actual = await sut . getGuestbook ( createdGuestbookId as number )
113- console . log ( 'getGuestbook guestbooks: ' , actual )
114111 expect ( actual . id ) . toBe ( createdGuestbookId )
115112 expect ( actual . name ) . toBe ( createGuestbookDTO . name )
116113 } )
0 commit comments