Skip to content

Commit

Permalink
chore(tests) assert workspace creation succeeded
Browse files Browse the repository at this point in the history
  • Loading branch information
rainest committed Mar 22, 2022
1 parent 6bb466a commit 08dd55f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions kong/endpoint_permission_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func TestRBACEndpointPermissionservice(T *testing.T) {

// Use new client in workspace context.
workspaced, err := NewTestClient(String(defaultBaseURL+"/endpoint-test-workspace"), nil)
assert.Nil(err)
role := &RBACRole{
Name: String("test-role-endpoint-perm"),
}
Expand Down
2 changes: 2 additions & 0 deletions kong/rbac_role_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func TestRBACRoleService(T *testing.T) {
assert.NotNil(createdWorkspace)

workspaced, err := NewTestClient(String(defaultBaseURL+"/rbac-role-test-workspace"), nil)
assert.Nil(err)

role := &RBACRole{
Name: String("roleA"),
Expand Down Expand Up @@ -84,6 +85,7 @@ func TestRBACRoleServiceList(T *testing.T) {
assert.NotNil(createdWorkspace)

workspaced, err := NewTestClient(String(defaultBaseURL+"/rbac-role-list-test-workspace"), nil)
assert.Nil(err)

roleA := &RBACRole{
Name: String("roleA"),
Expand Down

0 comments on commit 08dd55f

Please sign in to comment.