From 0dc26a9585556dfbf86bc4769facb6cacf0f87f9 Mon Sep 17 00:00:00 2001 From: Brandon Croft Date: Wed, 13 Apr 2022 09:27:13 -0600 Subject: [PATCH] test(cloud): nonexisting org not a valid test when using mocks --- internal/cloud/backend_test.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/internal/cloud/backend_test.go b/internal/cloud/backend_test.go index b6ed803781..f857c5cef5 100644 --- a/internal/cloud/backend_test.go +++ b/internal/cloud/backend_test.go @@ -447,18 +447,6 @@ func TestCloud_config(t *testing.T) { confErr string valErr string }{ - "with_a_nonexisting_organization": { - config: cty.ObjectVal(map[string]cty.Value{ - "hostname": cty.NullVal(cty.String), - "organization": cty.StringVal("nonexisting"), - "token": cty.NullVal(cty.String), - "workspaces": cty.ObjectVal(map[string]cty.Value{ - "name": cty.StringVal("prod"), - "tags": cty.NullVal(cty.Set(cty.String)), - }), - }), - confErr: "organization \"nonexisting\" at host app.terraform.io not found", - }, "with_an_unknown_host": { config: cty.ObjectVal(map[string]cty.Value{ "hostname": cty.StringVal("nonexisting.local"),