11 lines
250 B
Go
11 lines
250 B
Go
package rbac
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// TestKeyProvider creates a test key provider for testing
|
|
func TestKeyProvider(t *testing.T, privateKeyPath, publicKeyPath string) *LocalKeyProvider {
|
|
return NewLocalKeyProvider(privateKeyPath, publicKeyPath)
|
|
}
|