A collection of test cases to test Role Based Access Control (RBAC) feature in mojaloop
-
Connect to any required VPN
-
Set the relevant kubeconfig. This is only required for the port-forward, not for the tests themselves.
export KUBECONFIG=/path/to/relevant/kube/config.yaml
- Port-forward the role assignment service
kubectl port-forward -n mojaloop deploy/bof-role-assignment-service 3008
- Change to the test directory
cd tests/rbac
- Install dependencies
npm ci
- Run tests:
npm t
Configured via shell environment. See config.ts.