@@ -86,7 +86,7 @@ test.serial(`${currentTest} should return found company info for user`, async (t
8686
8787 t . is ( foundCompanyInfo . status , 200 ) ;
8888 const foundCompanyInfoRO = JSON . parse ( foundCompanyInfo . text ) ;
89- t . is ( Object . keys ( foundCompanyInfoRO ) . length , 7 ) ;
89+ t . is ( Object . keys ( foundCompanyInfoRO ) . length , 10 ) ;
9090 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'id' ) , true ) ;
9191 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'name' ) , true ) ;
9292 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'createdAt' ) , true ) ;
@@ -123,7 +123,7 @@ test.serial(`${currentTest} should return full found company info for company ad
123123 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'name' ) , true ) ;
124124 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'createdAt' ) , true ) ;
125125 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'updatedAt' ) , true ) ;
126- t . is ( Object . keys ( foundCompanyInfoRO ) . length , 12 ) ;
126+ t . is ( Object . keys ( foundCompanyInfoRO ) . length , 15 ) ;
127127 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'connections' ) , true ) ;
128128 t . is ( foundCompanyInfoRO . connections . length > 3 , true ) ;
129129 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'invitations' ) , true ) ;
@@ -175,7 +175,7 @@ test.serial(`${currentTest} should return found company info for non-admin user`
175175 const foundCompanyInfoRO = JSON . parse ( foundCompanyInfo . text ) ;
176176
177177 t . is ( foundCompanyInfo . status , 200 ) ;
178- t . is ( Object . keys ( foundCompanyInfoRO ) . length , 7 ) ;
178+ t . is ( Object . keys ( foundCompanyInfoRO ) . length , 10 ) ;
179179 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'id' ) , true ) ;
180180 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'name' ) , true ) ;
181181 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'createdAt' ) , true ) ;
@@ -477,7 +477,7 @@ test.serial(`${currentTest} should revoke user invitation from company`, async (
477477
478478currentTest = 'PUT company/name/:slug' ;
479479
480- test . only ( `${ currentTest } should update company name` , async ( t ) => {
480+ test . serial ( `${ currentTest } should update company name` , async ( t ) => {
481481 const testData = await createConnectionsAndInviteNewUserInNewGroupWithGroupPermissions ( app ) ;
482482 const {
483483 connections,
@@ -496,12 +496,9 @@ test.only(`${currentTest} should update company name`, async (t) => {
496496
497497 t . is ( foundCompanyInfo . status , 200 ) ;
498498 const foundCompanyInfoRO = JSON . parse ( foundCompanyInfo . text ) ;
499- console . log ( '🚀 ~ test.only ~ foundCompanyInfoRO:' , foundCompanyInfoRO )
500499 t . is ( foundCompanyInfoRO . hasOwnProperty ( 'name' ) , true ) ;
501500
502501 const newName = `${ faker . company . name ( ) } _${ nanoid ( 5 ) } ` ;
503-
504- console . log ( '🚀 ~ test.only ~ newName:' , newName ) ;
505502 const updateCompanyNameResult = await request ( app . getHttpServer ( ) )
506503 . put ( `/company/name/${ foundCompanyInfoRO . id } ` )
507504 . send ( {
0 commit comments