@@ -30,7 +30,7 @@ test.group('Extend ApiClient', () => {
3030 assert . equal ( request . cookie ( 'username' ) , 'virk' )
3131 } )
3232 await server . boot ( )
33- extendApiClient ( new CookieClient ( encryption ) )
33+ extendApiClient ( new CookieClient ( encryption ) , router )
3434
3535 /**
3636 * Cleanup
@@ -59,7 +59,7 @@ test.group('Extend ApiClient', () => {
5959 assert . equal ( request . cookie ( 'username' ) , 'virk' )
6060 } )
6161 await server . boot ( )
62- extendApiClient ( new CookieClient ( encryption ) )
62+ extendApiClient ( new CookieClient ( encryption ) , router )
6363
6464 /**
6565 * Cleanup
@@ -88,7 +88,7 @@ test.group('Extend ApiClient', () => {
8888 assert . equal ( request . encryptedCookie ( 'username' ) , 'virk' )
8989 } )
9090 await server . boot ( )
91- extendApiClient ( new CookieClient ( encryption ) )
91+ extendApiClient ( new CookieClient ( encryption ) , router )
9292
9393 /**
9494 * Cleanup
@@ -117,7 +117,7 @@ test.group('Extend ApiClient', () => {
117117 assert . equal ( request . plainCookie ( 'username' ) , 'virk' )
118118 } )
119119 await server . boot ( )
120- extendApiClient ( new CookieClient ( encryption ) )
120+ extendApiClient ( new CookieClient ( encryption ) , router )
121121
122122 /**
123123 * Cleanup
@@ -146,7 +146,7 @@ test.group('Extend ApiClient', () => {
146146 response . plainCookie ( 'id' , '1' )
147147 } )
148148 await server . boot ( )
149- extendApiClient ( new CookieClient ( encryption ) )
149+ extendApiClient ( new CookieClient ( encryption ) , router )
150150
151151 /**
152152 * Cleanup
@@ -179,7 +179,7 @@ test.group('Extend ApiClient', () => {
179179 response . clearCookie ( 'id' )
180180 } )
181181 await server . boot ( )
182- extendApiClient ( new CookieClient ( encryption ) )
182+ extendApiClient ( new CookieClient ( encryption ) , router )
183183
184184 /**
185185 * Cleanup
0 commit comments