From c94e63c37b7f0e358bbcc0433eeb6d64383be58e Mon Sep 17 00:00:00 2001 From: nitrocode <7775707+nitrocode@users.noreply.github.com> Date: Wed, 11 Jan 2023 20:18:06 -0500 Subject: [PATCH] chore(test): fix `atlantis import` test (#2970) * Fix e2e import test * Update exp-output-import-dir1-ops-dummy1.txt * Update exp-output-import-dir1-ops-dummy2.txt * Update exp-output-plan.txt --- .../import-workspace/exp-output-import-dir1-ops-dummy1.txt | 4 ---- .../import-workspace/exp-output-import-dir1-ops-dummy2.txt | 4 ---- .../test-repos/import-workspace/exp-output-plan.txt | 2 -- 3 files changed, 10 deletions(-) diff --git a/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-import-dir1-ops-dummy1.txt b/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-import-dir1-ops-dummy1.txt index 1dcee3ba0..499f130e1 100644 --- a/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-import-dir1-ops-dummy1.txt +++ b/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-import-dir1-ops-dummy1.txt @@ -10,11 +10,7 @@ Import successful! The resources that were imported are shown above. These resources are now in your Terraform state and will henceforth be managed by Terraform. - - ``` * :repeat: To **plan** this project again, comment: * `atlantis plan -p dir1-ops` - - diff --git a/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-import-dir1-ops-dummy2.txt b/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-import-dir1-ops-dummy2.txt index 6fc5f84d7..da5890f67 100644 --- a/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-import-dir1-ops-dummy2.txt +++ b/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-import-dir1-ops-dummy2.txt @@ -10,11 +10,7 @@ Import successful! The resources that were imported are shown above. These resources are now in your Terraform state and will henceforth be managed by Terraform. - - ``` * :repeat: To **plan** this project again, comment: * `atlantis plan -p dir1-ops` - - diff --git a/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-plan.txt b/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-plan.txt index 397828eb2..d84798b8e 100644 --- a/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-plan.txt +++ b/server/controllers/events/testfixtures/test-repos/import-workspace/exp-output-plan.txt @@ -1,12 +1,10 @@ Ran Plan for project: `dir1-ops` dir: `dir1` workspace: `ops` ```diff - No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. - ``` * :arrow_forward: To **apply** this plan, comment: