@@ -253,7 +253,7 @@ func TestPaymentsRefund(t *testing.T) {
253
253
err = signHTTPRequest (r , testAdminToken ("magical-unicorn" , "" ), test .Config .JWT .Secret )
254
254
require .NoError (t , err )
255
255
256
- NewAPIWithVersion (ctx , test .GlobalConfig , test .DB , defaultVersion ).handler .ServeHTTP (w , r )
256
+ NewAPIWithVersion (ctx , test .GlobalConfig , logrus . StandardLogger (), test .DB , defaultVersion ).handler .ServeHTTP (w , r )
257
257
258
258
rsp := new (models.Transaction )
259
259
extractPayload (t , http .StatusOK , w , rsp )
@@ -674,7 +674,7 @@ func TestPaymentPreauthorize(t *testing.T) {
674
674
globalConfig := new (conf.GlobalConfiguration )
675
675
ctx , err := WithInstanceConfig (context .Background (), globalConfig .SMTP , test .Config , "" )
676
676
require .NoError (t , err )
677
- NewAPIWithVersion (ctx , test .GlobalConfig , test .DB , "" ).handler .ServeHTTP (recorder , req )
677
+ NewAPIWithVersion (ctx , test .GlobalConfig , logrus . StandardLogger (), test .DB , "" ).handler .ServeHTTP (recorder , req )
678
678
679
679
rsp := payments.PreauthorizationResult {}
680
680
extractPayload (t , http .StatusOK , recorder , & rsp )
@@ -715,7 +715,7 @@ func TestPaymentPreauthorize(t *testing.T) {
715
715
globalConfig := new (conf.GlobalConfiguration )
716
716
ctx , err := WithInstanceConfig (context .Background (), globalConfig .SMTP , test .Config , "" )
717
717
require .NoError (t , err )
718
- NewAPIWithVersion (ctx , test .GlobalConfig , test .DB , "" ).handler .ServeHTTP (recorder , req )
718
+ NewAPIWithVersion (ctx , test .GlobalConfig , logrus . StandardLogger (), test .DB , "" ).handler .ServeHTTP (recorder , req )
719
719
720
720
rsp := payments.PreauthorizationResult {}
721
721
extractPayload (t , http .StatusOK , recorder , & rsp )
0 commit comments