terraform: remove test that was weirdly passing without error

This commit is contained in:
Mitchell Hashimoto 2015-06-24 22:51:29 -07:00
parent 785defc870
commit ced4701a8c
1 changed files with 0 additions and 22 deletions

View File

@ -3132,28 +3132,6 @@ func TestContext2Validate_targetedDestroy(t *testing.T) {
}
}
func TestContext2Validate_varRef(t *testing.T) {
m := testModule(t, "validate-variable-ref")
p := testProvider("aws")
c := testContext2(t, &ContextOpts{
Module: m,
Providers: map[string]ResourceProviderFactory{
"aws": testProviderFuncFixed(p),
},
})
computed := false
p.ValidateResourceFn = func(t string, c *ResourceConfig) ([]string, []error) {
computed = c.IsComputed("foo")
return nil, nil
}
c.Validate()
if !computed {
t.Fatal("should be computed")
}
}
func TestContext2Validate_varRefFilled(t *testing.T) {
m := testModule(t, "validate-variable-ref")
p := testProvider("aws")