Skip to content

Commit

Permalink
Fix bulk import test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmccombs committed Mar 15, 2022
1 parent 34c0d39 commit 21394f9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions internal/command/import_test.go
Expand Up @@ -1059,11 +1059,13 @@ func TestImport_bulk(t *testing.T) {
},
}
}
p.GetSchemaReturn = &terraform.ProviderSchema{
ResourceTypes: map[string]*configschema.Block{
p.GetProviderSchemaResponse = &providers.GetProviderSchemaResponse{
ResourceTypes: map[string]providers.Schema{
"test_instance": {
Attributes: map[string]*configschema.Attribute{
"id": {Type: cty.String, Optional: true, Computed: true},
Block: &configschema.Block{
Attributes: map[string]*configschema.Attribute{
"id": {Type: cty.String, Optional: true, Computed: true},
},
},
},
},
Expand Down

0 comments on commit 21394f9

Please sign in to comment.