Browse Source

phpunit bridge recipe

François Drouhard 2 years ago
parent
commit
63dceb7aef
4 changed files with 9 additions and 8 deletions
  1. 3 1
      .env.test
  2. 1 1
      .gitignore
  3. 5 6
      symfony.lock
  4. 0 0
      tests/.gitignore

+ 3 - 1
.env.test

@@ -1,4 +1,6 @@
 # define your env variables for the test env here
 KERNEL_CLASS='App\Kernel'
-APP_SECRET='s$cretf0rt3st'
+APP_SECRET='$ecretf0rt3st'
 SYMFONY_DEPRECATIONS_HELPER=999999
+PANTHER_APP_ENV=panther
+PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots

+ 1 - 1
.gitignore

@@ -9,7 +9,7 @@
 ###< symfony/framework-bundle ###
 
 ###> symfony/phpunit-bridge ###
-.phpunit
+.phpunit.result.cache
 /phpunit.xml
 ###< symfony/phpunit-bridge ###
 ###> symfony/webpack-encore-bundle ###

+ 5 - 6
symfony.lock

@@ -399,19 +399,18 @@
         "version": "v5.3.3"
     },
     "symfony/phpunit-bridge": {
-        "version": "4.1",
+        "version": "5.4",
         "recipe": {
             "repo": "github.com/symfony/recipes",
-            "branch": "master",
-            "version": "4.1",
-            "ref": "9dbf01cf67d791746ec772fe274c4d91cbf3c9ec"
+            "branch": "main",
+            "version": "5.3",
+            "ref": "97cb3dc7b0f39c7cfc4b7553504c9d7b7795de96"
         },
         "files": [
             ".env.test",
             "bin/phpunit",
-            "config/bootstrap.php",
             "phpunit.xml.dist",
-            "tests/.gitignore"
+            "tests/bootstrap.php"
         ]
     },
     "symfony/polyfill-intl-grapheme": {

+ 0 - 0
tests/.gitignore