diff --git a/command/plan_test.go b/command/plan_test.go index e89103b792..46b631a6f0 100644 --- a/command/plan_test.go +++ b/command/plan_test.go @@ -96,10 +96,6 @@ func TestPlan_plan(t *testing.T) { if code := c.Run(args); code != 1 { t.Fatalf("wrong exit status %d; want 1\nstderr: %s", code, ui.ErrorWriter.String()) } - - if p.ReadResourceCalled { - t.Fatal("ReadResource should not have been called") - } } func TestPlan_destroy(t *testing.T) { @@ -142,10 +138,6 @@ func TestPlan_destroy(t *testing.T) { t.Fatalf("bad: %d\n\n%s", code, ui.ErrorWriter.String()) } - if !p.ReadResourceCalled { - t.Fatal("ReadResource should have been called") - } - plan := testReadPlan(t, outPath) for _, rc := range plan.Changes.Resources { if got, want := rc.Action, plans.Delete; got != want {