-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an Authoriser interface and use it to add mocks for testing
The Authoriser interface implements a small subset of the go-irodsclient API sufficient to create mocks to emulate having users and groups from federated zones. go-irodsclient doesn't have full federation support, but nevertheless federated users are detected and reported by its API. The aim is to allow some level of testing against them without requiring a real federated iRODS servers. This commit also includes some refactoring to reduce the number of parameters used by some functions, particularly where user/group names and zones are being passed seperately, but are actually related.
- Loading branch information
Showing
6 changed files
with
560 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.