(t *testing.T)
| 253 | } |
| 254 | |
| 255 | func TestRoleDomainAPI(t *testing.T) { |
| 256 | e := newTestEngine(t, "file", "../examples/rbac_with_domains_policy.csv", "../examples/rbac_with_domains_model.conf") |
| 257 | |
| 258 | testGetDomains(t, e, "alice", []string{"domain1"}) |
| 259 | testGetDomains(t, e, "bob", []string{"domain2"}) |
| 260 | } |
nothing calls this directly
no test coverage detected