Skip to content

Commit d8f6398

Browse files
committed
fix test
1 parent 7a4a079 commit d8f6398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/resources/resource_team_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func TestAcc_ResourceTeam(t *testing.T) {
7474
},
7575
},
7676
}),
77-
ExpectError: regexp.MustCompile(fmt.Sprintf("Role '%s' is not valid for role type '%s'", string(iam.ORGANIZATIONOWNER), string(iam.WORKSPACE))),
77+
ExpectError: regexp.MustCompile(".*value must be one of.*"),
7878
},
7979
// Test failure: check for missing corresponding workspace role if deployment role is present
8080
{

0 commit comments

Comments
 (0)