Skip to content

Commit a7b64ba

Browse files
committed
-
1 parent ebdea39 commit a7b64ba

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

aws/user_role_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ func TestAccUserRole(t *testing.T) {
2222
})
2323
}
2424

25-
func TestMwsAccUserRoleWithApiField(t *testing.T) {
25+
func TestAccUserRoleWithApiField(t *testing.T) {
2626
if !acceptance.IsAws(t) {
27-
acceptance.Skipf(t)("TestMwsAccUserRoleWithApiField is only valid on AWS.")
27+
acceptance.Skipf(t)("TestAccUserRoleWithApiField is only valid on AWS.")
2828
}
29-
acceptance.AccountLevel(t, acceptance.Step{
29+
acceptance.WorkspaceLevel(t, acceptance.Step{
3030
Template: `
3131
resource "databricks_user" "this" {
3232
user_name = "{var.RANDOM}@example.com"
33-
api = "account"
33+
api = "workspace"
3434
}
3535
resource "databricks_user_role" "this" {
3636
user_id = databricks_user.this.id
3737
role = "arn:aws:iam::999999999999:role/foo"
38-
api = "account"
38+
api = "workspace"
3939
}`,
4040
})
4141
}

scim/group_role_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ func TestAccGroupRole(t *testing.T) {
2222
})
2323
}
2424

25-
func TestMwsAccGroupRoleWithApiField(t *testing.T) {
25+
func TestAccGroupRoleWithApiField(t *testing.T) {
2626
if !acceptance.IsAws(t) {
27-
acceptance.Skipf(t)("TestMwsAccGroupRoleWithApiField is only valid on AWS.")
27+
acceptance.Skipf(t)("TestAccGroupRoleWithApiField is only valid on AWS.")
2828
}
29-
acceptance.AccountLevel(t, acceptance.Step{
29+
acceptance.WorkspaceLevel(t, acceptance.Step{
3030
Template: `
3131
resource "databricks_group" "this" {
3232
display_name = "tf-{var.RANDOM}"
33-
api = "account"
33+
api = "workspace"
3434
}
3535
resource "databricks_group_role" "this" {
3636
group_id = databricks_group.this.id
3737
role = "arn:aws:iam::999999999999:role/foo"
38-
api = "account"
38+
api = "workspace"
3939
}`,
4040
})
4141
}

0 commit comments

Comments
 (0)