From c07128b308c6e1e467ba5c45308a3899075d3739 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Sat, 1 Jan 2022 19:47:52 +0100 Subject: [PATCH] refactor: drop integration tests [ci skip] Will use script instead. --- cli/app/check_test.go | 15 --------------- tests/integration/app-check/testapp/testapp.env | 3 --- tests/integration/app-check/testapp2/testapp2.env | 4 ---- .../integration/app-check/testrecipe/.env.sample | 2 -- .../integration/app-check/testrecipe2/.env.sample | 3 --- 5 files changed, 27 deletions(-) delete mode 100644 cli/app/check_test.go delete mode 100644 tests/integration/app-check/testapp/testapp.env delete mode 100644 tests/integration/app-check/testapp2/testapp2.env delete mode 100644 tests/integration/app-check/testrecipe/.env.sample delete mode 100644 tests/integration/app-check/testrecipe2/.env.sample diff --git a/cli/app/check_test.go b/cli/app/check_test.go deleted file mode 100644 index cfa0e102..00000000 --- a/cli/app/check_test.go +++ /dev/null @@ -1,15 +0,0 @@ -package app - -import "testing" - -func TestCheck(t *testing.T) { - // copy testrecipe into ~/.abra/apps/... - // copy testapp into ~/.abra/servers/testserver - // run app check test recipe and it should pass -} - -func TestCheckBadEnv(t *testing.T) { - // copy testrecipe, testrecipe2 into ~/.abra/apps/... - // copy testapp, test2 into ~/.abra/servers/testserver - // run app check test recipe and it should fail -} diff --git a/tests/integration/app-check/testapp/testapp.env b/tests/integration/app-check/testapp/testapp.env deleted file mode 100644 index 1ec5393c..00000000 --- a/tests/integration/app-check/testapp/testapp.env +++ /dev/null @@ -1,3 +0,0 @@ -TYPE=testrecipe -DOMAIN=foo.com -MANDATORY_ENV_VAR=bar diff --git a/tests/integration/app-check/testapp2/testapp2.env b/tests/integration/app-check/testapp2/testapp2.env deleted file mode 100644 index 446690dc..00000000 --- a/tests/integration/app-check/testapp2/testapp2.env +++ /dev/null @@ -1,4 +0,0 @@ -TYPE=testrecipe2 -DOMAIN=foo.com -MANDATORY_ENV_VAR=bar -# missing MANDATORY_ENV_VAR2 diff --git a/tests/integration/app-check/testrecipe/.env.sample b/tests/integration/app-check/testrecipe/.env.sample deleted file mode 100644 index 1acb87eb..00000000 --- a/tests/integration/app-check/testrecipe/.env.sample +++ /dev/null @@ -1,2 +0,0 @@ -TYPE=testrecipe -MANDATORY_ENV_VAR=bar diff --git a/tests/integration/app-check/testrecipe2/.env.sample b/tests/integration/app-check/testrecipe2/.env.sample deleted file mode 100644 index 09179f21..00000000 --- a/tests/integration/app-check/testrecipe2/.env.sample +++ /dev/null @@ -1,3 +0,0 @@ -TYPE=testrecipe2 -MANDATORY_ENV_VAR1=bar -MANDATORY_ENV_VAR2=bar