From 4f449264663177ceba9dccbc250fd7dec3ee31c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20L=C3=B8vgaard?= Date: Thu, 3 Oct 2024 13:00:29 +0200 Subject: [PATCH] Adding mandatory .env file --- tests/Integration/.env | 2 ++ tests/Integration/deploy.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 tests/Integration/.env diff --git a/tests/Integration/.env b/tests/Integration/.env new file mode 100644 index 0000000..77887d2 --- /dev/null +++ b/tests/Integration/.env @@ -0,0 +1,2 @@ +APP_ENV=dev +MAILER_DSN=smtp://localhost diff --git a/tests/Integration/deploy.php b/tests/Integration/deploy.php index 551ee61..d759839 100644 --- a/tests/Integration/deploy.php +++ b/tests/Integration/deploy.php @@ -6,11 +6,13 @@ require_once '../../vendor/autoload.php'; -require_once 'recipe/common.php'; +require_once 'recipe/composer.php'; require_once 'recipe/setono_dotenv.php'; // Config set('repository', 'https://github.com/Setono/deployer-dotenv.git'); +set('target', '2.x'); +set('composer_options', '--verbose --prefer-dist --no-progress --no-interaction --optimize-autoloader'); // Removed the --no-dev option // Hosts host('127.0.0.1')