diff --git a/internal/broker/generated/datasource_test.go b/internal/broker/testacc/datasource_test.go similarity index 92% rename from internal/broker/generated/datasource_test.go rename to internal/broker/testacc/datasource_test.go index 07632659..aa38b286 100644 --- a/internal/broker/generated/datasource_test.go +++ b/internal/broker/testacc/datasource_test.go @@ -14,12 +14,12 @@ // See the License for the specific language governing permissions and // limitations under the License. -package generated +package acctest import ( - "testing" + "testing" - "github.com/hashicorp/terraform-plugin-testing/helper/resource" + "github.com/hashicorp/terraform-plugin-testing/helper/resource" ) func TestAccDataSource(t *testing.T) { @@ -41,3 +41,5 @@ data "solacebroker_msg_vpn" "default" { }, }) } + + diff --git a/internal/broker/generated/provider_test.go b/internal/broker/testacc/provider_test.go similarity index 97% rename from internal/broker/generated/provider_test.go rename to internal/broker/testacc/provider_test.go index 0c721539..825c6395 100644 --- a/internal/broker/generated/provider_test.go +++ b/internal/broker/testacc/provider_test.go @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package generated +package acctest import ( "os" @@ -28,6 +28,9 @@ import ( "github.com/testcontainers/testcontainers-go" "github.com/testcontainers/testcontainers-go/wait" + + _ "terraform-provider-solacebroker/internal/broker/generated" + ) var ProviderConfig string diff --git a/internal/broker/generated/resource_test.go b/internal/broker/testacc/resource_test.go similarity index 99% rename from internal/broker/generated/resource_test.go rename to internal/broker/testacc/resource_test.go index 7759c339..45d1d3fa 100644 --- a/internal/broker/generated/resource_test.go +++ b/internal/broker/testacc/resource_test.go @@ -14,7 +14,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package generated +package acctest import ( "testing"