terraform: fix failing tests

This commit is contained in:
Mitchell Hashimoto 2015-02-09 23:33:48 -08:00
parent d847b2b672
commit bde5fa36e9
1 changed files with 3 additions and 3 deletions

View File

@ -22,11 +22,11 @@ func TestEvalConfigProvider(t *testing.T) {
t.Fatalf("bad: %#v", actual)
}
if !provider.ConfigureCalled {
if !ctx.ConfigureProviderCalled {
t.Fatal("should be called")
}
if !reflect.DeepEqual(provider.ConfigureConfig, config) {
t.Fatalf("bad: %#v", provider.ConfigureConfig)
if !reflect.DeepEqual(ctx.ConfigureProviderConfig, config) {
t.Fatalf("bad: %#v", ctx.ConfigureProviderConfig)
}
}