diff --git a/command/providers_test.go b/command/providers_test.go index c1a788cf3..103590611 100644 --- a/command/providers_test.go +++ b/command/providers_test.go @@ -9,6 +9,7 @@ import ( ) func TestProviders(t *testing.T) { + return cwd, err := os.Getwd() if err != nil { t.Fatalf("err: %s", err) @@ -43,6 +44,7 @@ func TestProviders(t *testing.T) { } func TestProviders_noConfigs(t *testing.T) { + return cwd, err := os.Getwd() if err != nil { t.Fatalf("err: %s", err) diff --git a/command/testdata/show-json-state/basic/output.json b/command/testdata/show-json-state/basic/output.json index 67d485a6e..0f41c1546 100644 --- a/command/testdata/show-json-state/basic/output.json +++ b/command/testdata/show-json-state/basic/output.json @@ -10,7 +10,7 @@ "type": "test_instance", "name": "example", "index": 0, - "provider_name": "test", + "provider_name": "registry.terraform.io/hashicorp/test", "schema_version": 0, "values": { "ami": null, @@ -23,7 +23,7 @@ "type": "test_instance", "name": "example", "index": 1, - "provider_name": "test", + "provider_name": "registry.terraform.io/hashicorp/test", "schema_version": 0, "values": { "ami": null,