Skip to content

Commit

Permalink
chore: unit tests for permission service (#774)
Browse files Browse the repository at this point in the history
* chore: add unit test for permission get

* chore: unit tests for permission upsert

* chore: unit tests for permission list

* chore: uni tests for permission update, delete
  • Loading branch information
anujk14 authored Sep 20, 2024
1 parent 0c636c6 commit f0d6eea
Show file tree
Hide file tree
Showing 3 changed files with 609 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .mockery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ packages:
github.com/raystack/frontier/core/organization:
config:
dir: "core/organization/mocks"
all: true
github.com/raystack/frontier/core/permission:
config:
dir: "core/permission/mocks"
all: true
371 changes: 371 additions & 0 deletions core/permission/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 f0d6eea

Please sign in to comment.