File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -1003,10 +1003,7 @@ func TestAccIAMRole_Identity_ExistingResource_NoRefresh_OnError(t *testing.T) {
10031003 {
10041004 ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories ,
10051005 Config : testAccRoleConfig_invalidAssumeRolePolicy (rName ),
1006- Check : resource .ComposeAggregateTestCheckFunc (
1007- testAccCheckRoleExists (ctx , resourceName , & conf ),
1008- ),
1009- ExpectError : regexache .MustCompile (`MalformedPolicyDocument: Unknown field invalid` ),
1006+ ExpectError : regexache .MustCompile (`MalformedPolicyDocument: Unknown field invalid` ),
10101007 },
10111008 },
10121009 })
@@ -1038,10 +1035,7 @@ func TestAccIAMRole_Identity_ExistingResource_OnError(t *testing.T) {
10381035 {
10391036 ProtoV5ProviderFactories : acctest .ProtoV5ProviderFactories ,
10401037 Config : testAccRoleConfig_invalidAssumeRolePolicy (rName ),
1041- Check : resource .ComposeAggregateTestCheckFunc (
1042- testAccCheckRoleExists (ctx , resourceName , & conf ),
1043- ),
1044- ExpectError : regexache .MustCompile (`MalformedPolicyDocument: Unknown field invalid` ),
1038+ ExpectError : regexache .MustCompile (`MalformedPolicyDocument: Unknown field invalid` ),
10451039 },
10461040 },
10471041 })
You can’t perform that action at this time.
0 commit comments