File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
internal/api/v1beta1connect Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -343,13 +343,13 @@ func TestConnectHandler_ListBillingTransactions(t *testing.T) {
343343 }
344344
345345 tests := []struct {
346- name string
347- setup func (cs * mocks.CreditService )
348- customerSetup func (custSvc * mocks.CustomerService )
349- request * connect.Request [frontierv1beta1.ListBillingTransactionsRequest ]
350- want * connect.Response [frontierv1beta1.ListBillingTransactionsResponse ]
351- wantErr error
352- errCode connect.Code
346+ name string
347+ setup func (cs * mocks.CreditService )
348+ customerSetup func (custSvc * mocks.CustomerService )
349+ request * connect.Request [frontierv1beta1.ListBillingTransactionsRequest ]
350+ want * connect.Response [frontierv1beta1.ListBillingTransactionsResponse ]
351+ wantErr error
352+ errCode connect.Code
353353 }{
354354 {
355355 name : "should return empty list when billing account not found" ,
@@ -607,8 +607,8 @@ func TestConnectHandler_ListBillingTransactions(t *testing.T) {
607607 tt .customerSetup (mockCustomerSvc )
608608 }
609609 h := & ConnectHandler {
610- creditService : mockCreditSvc ,
611- customerService : mockCustomerSvc ,
610+ creditService : mockCreditSvc ,
611+ customerService : mockCustomerSvc ,
612612 }
613613 got , err := h .ListBillingTransactions (context .Background (), tt .request )
614614 assert .EqualValues (t , tt .want , got )
You can’t perform that action at this time.
0 commit comments