add provider source back to success tests

pull/38497/head
Austin Valle 3 weeks ago
parent e480b016f8
commit 6428b2bdbc

@ -187,6 +187,10 @@ func TestInit2_dynamicSourceSuccess(t *testing.T) {
testCopyDir(t, testFixturePath(filepath.Join("dynamic-module-sources", tc.fixture)), td)
t.Chdir(td)
providerSource := newMockProviderSource(t, map[string][]string{
"hashicorp/test": {"1.0.0"},
})
ui := new(cli.MockUi)
view, done := testView(t)
c := &InitCommand{
@ -194,6 +198,7 @@ func TestInit2_dynamicSourceSuccess(t *testing.T) {
testingOverrides: metaOverridesForProvider(testProvider()),
Ui: ui,
View: view,
ProviderSource: providerSource,
},
}

Loading…
Cancel
Save