Skip to content

Commit

Permalink
Fix integration test for restrict workspace admins setting (#3772)
Browse files Browse the repository at this point in the history
This test requires the authenticated user to be an account administrator. Our
non-UC test environments don't use identity federation and are therefore by
definition not account admins.

Require a UC test environment to get around this limitation.
  • Loading branch information
pietern authored Jul 15, 2024
1 parent 71e5492 commit c23d713
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/acceptance/restrict_workspace_admins_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestAccRestrictWorkspaceAdminsSetting(t *testing.T) {
}
}
`
workspaceLevel(t, step{
unityWorkspaceLevel(t, step{
Template: template,
Check: resourceCheckWithState("databricks_restrict_workspace_admins_setting.this",
func(ctx context.Context, client *common.DatabricksClient, state *terraform.InstanceState) error {
Expand Down

0 comments on commit c23d713

Please sign in to comment.