diff --git a/phpunit/phpunit/10.0/.env.test b/phpunit/phpunit/10.0/.env.test new file mode 100644 index 000000000..24a43c03b --- /dev/null +++ b/phpunit/phpunit/10.0/.env.test @@ -0,0 +1,4 @@ +# define your env variables for the test env here +KERNEL_CLASS='App\Kernel' +APP_SECRET='$ecretf0rt3st' +SYMFONY_DEPRECATIONS_HELPER=999999 diff --git a/phpunit/phpunit/10.0/manifest.json b/phpunit/phpunit/10.0/manifest.json new file mode 100644 index 000000000..a35670abb --- /dev/null +++ b/phpunit/phpunit/10.0/manifest.json @@ -0,0 +1,11 @@ +{ + "copy-from-recipe": { + ".env.test": ".env.test", + "phpunit.dist.xml": "phpunit.dist.xml", + "tests/": "tests/" + }, + "gitignore": [ + "/phpunit.xml", + "/.phpunit.cache/" + ] +} diff --git a/phpunit/phpunit/10.0/phpunit.dist.xml b/phpunit/phpunit/10.0/phpunit.dist.xml new file mode 100644 index 000000000..7ca7d74a3 --- /dev/null +++ b/phpunit/phpunit/10.0/phpunit.dist.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + tests + + + + + + src + + + + + + diff --git a/phpunit/phpunit/10.0/tests/bootstrap.php b/phpunit/phpunit/10.0/tests/bootstrap.php new file mode 100644 index 000000000..469dccee4 --- /dev/null +++ b/phpunit/phpunit/10.0/tests/bootstrap.php @@ -0,0 +1,11 @@ +bootEnv(dirname(__DIR__).'/.env'); +} diff --git a/symfony/panther/1.0/manifest.json b/symfony/panther/1.0/manifest.json index 4f08f8e71..b7cf34038 100644 --- a/symfony/panther/1.0/manifest.json +++ b/symfony/panther/1.0/manifest.json @@ -19,6 +19,20 @@ "content": " ", "position": "after_target", "target": "", + "warn_if_missing": false + }, + { + "file": "phpunit.dist.xml", + "content": " ", + "position": "after_target", + "target": "", + "warn_if_missing": false + }, + { + "file": ".env.test", + "content": "PANTHER_APP_ENV=panther\nPANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots", + "position": "after_target", + "target": "SYMFONY_DEPRECATIONS_HELPER=999999", "warn_if_missing": true } ]