(t *testing.T)
| 85 | } |
| 86 | |
| 87 | func TestKeyMatchWithRBACInDomain(t *testing.T) { |
| 88 | e, _ := NewEnforcer("examples/keymatch_with_rbac_in_domain.conf", "examples/keymatch_with_rbac_in_domain.csv") |
| 89 | testDomainEnforce(t, e, "Username==test2", "engines/engine1", "*", "attach", true) |
| 90 | } |
| 91 | |
| 92 | func TestKeyMatchModelInMemoryDeny(t *testing.T) { |
| 93 | m := model.NewModel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…