we can roll back the e2e tests
the data sources no longer show up in the tests
This commit is contained in:
parent
6039622111
commit
ab06f0c9f8
|
@ -73,12 +73,11 @@ func TestPlanApplyInAutomation(t *testing.T) {
|
||||||
|
|
||||||
// stateResources := plan.Changes.Resources
|
// stateResources := plan.Changes.Resources
|
||||||
diffResources := plan.Changes.Resources
|
diffResources := plan.Changes.Resources
|
||||||
if len(diffResources) != 2 {
|
if len(diffResources) != 1 {
|
||||||
t.Errorf("incorrect number of resources in plan")
|
t.Errorf("incorrect number of resources in plan")
|
||||||
}
|
}
|
||||||
|
|
||||||
expected := map[string]plans.Action{
|
expected := map[string]plans.Action{
|
||||||
"data.template_file.test": plans.Read,
|
|
||||||
"null_resource.test": plans.Create,
|
"null_resource.test": plans.Create,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,12 +72,11 @@ func TestPrimarySeparatePlan(t *testing.T) {
|
||||||
}
|
}
|
||||||
|
|
||||||
diffResources := plan.Changes.Resources
|
diffResources := plan.Changes.Resources
|
||||||
if len(diffResources) != 2 {
|
if len(diffResources) != 1 {
|
||||||
t.Errorf("incorrect number of resources in plan")
|
t.Errorf("incorrect number of resources in plan")
|
||||||
}
|
}
|
||||||
|
|
||||||
expected := map[string]plans.Action{
|
expected := map[string]plans.Action{
|
||||||
"data.template_file.test": plans.Read,
|
|
||||||
"null_resource.test": plans.Create,
|
"null_resource.test": plans.Create,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue