Skip to content

Commit

Permalink
Test/billing unit tests for customer service (#764)
Browse files Browse the repository at this point in the history
* test: add unit test to billing customer service

* test: add mock for billing customer repository

* update mockery yaml

---------

Co-authored-by: Aman Prasad <[email protected]>
  • Loading branch information
AmanGIT07 and Aman Prasad committed Sep 6, 2024
1 parent dc64188 commit 62779c7
Show file tree
Hide file tree
Showing 3 changed files with 797 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ packages:
config:
dir: "billing/credit/mocks"
all: true
github.com/raystack/frontier/billing/customer:
config:
dir: "billing/customer/mocks"
all: true
github.com/raystack/frontier/billing/product:
config:
dir: "billing/product/mocks"
Expand Down
314 changes: 314 additions & 0 deletions billing/customer/mocks/repository.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 62779c7

Please sign in to comment.