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,13 +73,12 @@ 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,
|
||||
"null_resource.test": plans.Create,
|
||||
}
|
||||
|
||||
for _, r := range diffResources {
|
||||
|
|
|
@ -72,13 +72,12 @@ 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,
|
||||
"null_resource.test": plans.Create,
|
||||
}
|
||||
|
||||
for _, r := range diffResources {
|
||||
|
|
Loading…
Reference in New Issue