From 4de0da57493bf59f3898d9dff1788dd401eb882a Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Thu, 5 Aug 2021 11:17:37 -0700 Subject: [PATCH] Remove factory usage from test --- internal/core/testing_project.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/core/testing_project.go b/internal/core/testing_project.go index 799604d8e..bb90b3f18 100644 --- a/internal/core/testing_project.go +++ b/internal/core/testing_project.go @@ -79,12 +79,6 @@ func TestBasis(t testing.T, opts ...BasisOption) (b *Basis) { WithBasisRef(&vagrant_plugin_sdk.Ref_Basis{Name: "test-basis"}), } - // Create the default factory for all component types - for typ := range TestingTypeMap { - f, _ := TestFactorySingle(t, typ, "test-basis") - defaultOpts = append(defaultOpts, WithFactory(typ, f)) - } - b, _ = NewBasis(context.Background(), append(defaultOpts, opts...)...) return }