Skip to content

Commit

Permalink
internal: add mock for storage.Transactional + update generate-mocks.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Amir Aslaminejad <aslaminejad@gmail.com>
  • Loading branch information
aaslamin authored and aeneasr committed Dec 23, 2018
1 parent 07d1a39 commit 03f7bc8
Show file tree
Hide file tree
Showing 27 changed files with 1,280 additions and 827 deletions.
1 change: 1 addition & 0 deletions generate-mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

mockgen -package internal -destination internal/hash.go github.com/ory/fosite Hasher
mockgen -package internal -destination internal/storage.go github.com/ory/fosite Storage
mockgen -package internal -destination internal/transactional.go github.com/ory/fosite/storage Transactional
mockgen -package internal -destination internal/oauth2_storage.go github.com/ory/fosite/handler/oauth2 CoreStorage
mockgen -package internal -destination internal/oauth2_strategy.go github.com/ory/fosite/handler/oauth2 CoreStrategy
mockgen -package internal -destination internal/authorize_code_storage.go github.com/ory/fosite/handler/oauth2 AuthorizeCodeStorage
Expand Down
211 changes: 126 additions & 85 deletions internal/access_request.go

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

Loading

0 comments on commit 03f7bc8

Please sign in to comment.