Merge pull request #19127 from hashicorp/b-prepare-provider
Make the test compile again
This commit is contained in:
commit
83168ea25f
|
@ -189,9 +189,8 @@ func TestLocal_refreshValidate(t *testing.T) {
|
||||||
}
|
}
|
||||||
<-run.Done()
|
<-run.Done()
|
||||||
|
|
||||||
// what are we validating?
|
if !p.PrepareProviderConfigCalled {
|
||||||
if !p.ValidateProviderConfigCalled {
|
t.Fatal("Prepare provider config should be called")
|
||||||
t.Fatal("validate should be called")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
checkState(t, b.StateOutPath, `
|
checkState(t, b.StateOutPath, `
|
||||||
|
|
|
@ -797,8 +797,8 @@ func TestApply_planNoModuleFiles(t *testing.T) {
|
||||||
planPath,
|
planPath,
|
||||||
}
|
}
|
||||||
apply.Run(args)
|
apply.Run(args)
|
||||||
if p.ValidateProviderConfigCalled {
|
if p.PrepareProviderConfigCalled {
|
||||||
t.Fatal("Validate should not be called with a plan")
|
t.Fatal("Prepare provider config should not be called with a plan")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue