From 5308220ac837495a74751c19efb52703b32045a8 Mon Sep 17 00:00:00 2001 From: Olivier ALLAIN Date: Tue, 23 Dec 2025 10:44:05 +0100 Subject: [PATCH] Doc for Test Application --- CONTRIBUTING.md | 10 +++++----- composer.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1c3bd56..62cb355 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,13 +3,13 @@ From the plugin root directory, run the following commands: ```bash -$ make install -e SYLIUS_VERSION=XX SYMFONY_VERSION=YY PHP_VERSION=ZZ +$ make install -e SYLIUS_VERSION=XX SYMFONY_VERSION=YY ``` -Default values : XX=2.0 and YY=7.2 and ZZ=8.2 +Default values : XX=2.1 and YY=6.4 To be able to setup the plugin database, remember to configure you database credentials -in `install/Application/.env.local` and `install/Application/.env.test.local`. +in `tests/TestApplication/.env.local` and `tests/TestApplication/.env.test.local`. To reset test environment: ```bash @@ -39,11 +39,11 @@ $ make reset - Using `test` environment: ```bash - $ (cd tests/Application && bin/console server:run -d public -e test) + $ symfony server:start -d -e test ``` - Using `dev` environment: ```bash - $ (cd tests/Application && bin/console server:run -d public -e dev) + $ symfony server:start -d -e dev ``` diff --git a/composer.json b/composer.json index 2abb302..46a171e 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,8 @@ "license": "MIT", "require": { "php": "^8.2", - "ext-json": "*", "ext-intl": "*", + "ext-json": "*", "dragonmantank/cron-expression": "^3.4", "sylius/sylius": "^2.0", "symfony/framework-bundle": "^5.4|^6.4|^7.0|^8.0",