From 33777100ee7b17e0ac360f5d69640ce03892e472 Mon Sep 17 00:00:00 2001 From: X-Guardian Date: Sun, 22 Oct 2023 17:41:29 +0100 Subject: [PATCH] Update e2e tests expected outputs --- .../import-multiple-project/exp-output-plan-again.txt | 2 +- .../test-repos/modules/exp-output-plan-production.txt | 4 ---- .../policy-checks-multi-projects/exp-output-apply.txt | 5 ++++- .../test-repos/repo-config-file/exp-output-apply.txt | 5 ++++- .../testdata/test-repos/simple-yaml/exp-output-apply-all.txt | 5 ++++- .../testdata/test-repos/simple/exp-output-apply-var-all.txt | 5 ++++- .../state-rm-multiple-project/exp-output-autoplan.txt | 4 ++++ .../state-rm-multiple-project/exp-output-plan-again.txt | 4 ++++ 8 files changed, 25 insertions(+), 9 deletions(-) diff --git a/server/controllers/events/testdata/test-repos/import-multiple-project/exp-output-plan-again.txt b/server/controllers/events/testdata/test-repos/import-multiple-project/exp-output-plan-again.txt index 128e0f3bb9..65171199c1 100644 --- a/server/controllers/events/testdata/test-repos/import-multiple-project/exp-output-plan-again.txt +++ b/server/controllers/events/testdata/test-repos/import-multiple-project/exp-output-plan-again.txt @@ -55,7 +55,7 @@ Plan: 1 to add, 0 to change, 0 to destroy. --- ### Plan Summary -2 projects, 2 with changes, 0 with no changes, 0 failed +2 projects, 1 with changes, 1 with no changes, 0 failed * :fast_forward: To **apply** all unapplied plans from this pull request, comment: * `atlantis apply` diff --git a/server/controllers/events/testdata/test-repos/modules/exp-output-plan-production.txt b/server/controllers/events/testdata/test-repos/modules/exp-output-plan-production.txt index 04e14a9487..e95397a953 100644 --- a/server/controllers/events/testdata/test-repos/modules/exp-output-plan-production.txt +++ b/server/controllers/events/testdata/test-repos/modules/exp-output-plan-production.txt @@ -29,10 +29,6 @@ Changes to Outputs: Plan: 1 to add, 0 to change, 0 to destroy. --- -### Plan Summary - -2 projects, 2 with changes, 0 with no changes, 0 failed - * :fast_forward: To **apply** all unapplied plans from this pull request, comment: * `atlantis apply` * :put_litter_in_its_place: To delete all plans and locks for the PR, comment: diff --git a/server/controllers/events/testdata/test-repos/policy-checks-multi-projects/exp-output-apply.txt b/server/controllers/events/testdata/test-repos/policy-checks-multi-projects/exp-output-apply.txt index 34121591c1..eb6bda8987 100644 --- a/server/controllers/events/testdata/test-repos/policy-checks-multi-projects/exp-output-apply.txt +++ b/server/controllers/events/testdata/test-repos/policy-checks-multi-projects/exp-output-apply.txt @@ -19,4 +19,7 @@ workspace = "default" ### 2. dir: `dir2` workspace: `default` **Apply Failed**: All policies must pass for project before running apply. ---- \ No newline at end of file +--- +### Apply Summary + +2 projects, 1 successful, 1 failed, 0 errored \ No newline at end of file diff --git a/server/controllers/events/testdata/test-repos/repo-config-file/exp-output-apply.txt b/server/controllers/events/testdata/test-repos/repo-config-file/exp-output-apply.txt index 8490f306d7..a136ff9691 100644 --- a/server/controllers/events/testdata/test-repos/repo-config-file/exp-output-apply.txt +++ b/server/controllers/events/testdata/test-repos/repo-config-file/exp-output-apply.txt @@ -20,4 +20,7 @@ null_resource.staging[0]: Creation complete after *s [id=*******************] Apply complete! Resources: 1 added, 0 changed, 0 destroyed. ``` ---- \ No newline at end of file +--- +### Apply Summary + +2 projects, 2 successful, 0 failed, 0 errored \ No newline at end of file diff --git a/server/controllers/events/testdata/test-repos/simple-yaml/exp-output-apply-all.txt b/server/controllers/events/testdata/test-repos/simple-yaml/exp-output-apply-all.txt index 711bf571ce..61eac2271a 100644 --- a/server/controllers/events/testdata/test-repos/simple-yaml/exp-output-apply-all.txt +++ b/server/controllers/events/testdata/test-repos/simple-yaml/exp-output-apply-all.txt @@ -38,4 +38,7 @@ postapply ---- \ No newline at end of file +--- +### Apply Summary + +2 projects, 2 successful, 0 failed, 0 errored \ No newline at end of file diff --git a/server/controllers/events/testdata/test-repos/simple/exp-output-apply-var-all.txt b/server/controllers/events/testdata/test-repos/simple/exp-output-apply-var-all.txt index bd6526fa8c..2977099b55 100644 --- a/server/controllers/events/testdata/test-repos/simple/exp-output-apply-var-all.txt +++ b/server/controllers/events/testdata/test-repos/simple/exp-output-apply-var-all.txt @@ -46,4 +46,7 @@ workspace = "new_workspace" ---- \ No newline at end of file +--- +### Apply Summary + +2 projects, 2 successful, 0 failed, 0 errored \ No newline at end of file diff --git a/server/controllers/events/testdata/test-repos/state-rm-multiple-project/exp-output-autoplan.txt b/server/controllers/events/testdata/test-repos/state-rm-multiple-project/exp-output-autoplan.txt index 59368775c2..65b02c4128 100644 --- a/server/controllers/events/testdata/test-repos/state-rm-multiple-project/exp-output-autoplan.txt +++ b/server/controllers/events/testdata/test-repos/state-rm-multiple-project/exp-output-autoplan.txt @@ -69,6 +69,10 @@ Plan: 1 to add, 0 to change, 0 to destroy. Plan: 1 to add, 0 to change, 0 to destroy. --- +### Plan Summary + +2 projects, 2 with changes, 0 with no changes, 0 failed + * :fast_forward: To **apply** all unapplied plans from this pull request, comment: * `atlantis apply` * :put_litter_in_its_place: To delete all plans and locks for the PR, comment: diff --git a/server/controllers/events/testdata/test-repos/state-rm-multiple-project/exp-output-plan-again.txt b/server/controllers/events/testdata/test-repos/state-rm-multiple-project/exp-output-plan-again.txt index 59368775c2..65b02c4128 100644 --- a/server/controllers/events/testdata/test-repos/state-rm-multiple-project/exp-output-plan-again.txt +++ b/server/controllers/events/testdata/test-repos/state-rm-multiple-project/exp-output-plan-again.txt @@ -69,6 +69,10 @@ Plan: 1 to add, 0 to change, 0 to destroy. Plan: 1 to add, 0 to change, 0 to destroy. --- +### Plan Summary + +2 projects, 2 with changes, 0 with no changes, 0 failed + * :fast_forward: To **apply** all unapplied plans from this pull request, comment: * `atlantis apply` * :put_litter_in_its_place: To delete all plans and locks for the PR, comment: