Documentation
¶
Overview ¶
Package writemodel contains integration tests for the WriteAuthorizationModel API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunAllTests ¶ added in v0.4.0
func RunAllTests(t *testing.T, client ClientInterface)
RunAllTests will run all write model tests
Types ¶
type ClientInterface ¶
type ClientInterface interface {
CreateStore(ctx context.Context, in *openfgav1.CreateStoreRequest, opts ...grpc.CallOption) (*openfgav1.CreateStoreResponse, error)
WriteAuthorizationModel(ctx context.Context, in *openfgav1.WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*openfgav1.WriteAuthorizationModelResponse, error)
}
ClientInterface defines interface for running WriteAuthorizationModel tests
Click to show internal directories.
Click to hide internal directories.