we can roll back the e2e tests

the data sources no longer show up in the tests
This commit is contained in:
James Bardin 2020-09-21 21:30:20 -04:00
parent 6039622111
commit ab06f0c9f8
2 changed files with 4 additions and 6 deletions

View File

@ -73,12 +73,11 @@ func TestPlanApplyInAutomation(t *testing.T) {
// stateResources := plan.Changes.Resources
diffResources := plan.Changes.Resources
if len(diffResources) != 2 {
if len(diffResources) != 1 {
t.Errorf("incorrect number of resources in plan")
}
expected := map[string]plans.Action{
"data.template_file.test": plans.Read,
"null_resource.test": plans.Create,
}

View File

@ -72,12 +72,11 @@ func TestPrimarySeparatePlan(t *testing.T) {
}
diffResources := plan.Changes.Resources
if len(diffResources) != 2 {
if len(diffResources) != 1 {
t.Errorf("incorrect number of resources in plan")
}
expected := map[string]plans.Action{
"data.template_file.test": plans.Read,
"null_resource.test": plans.Create,
}