فهرست منبع

make test env prod-like

Olivier Massot 2 سال پیش
والد
کامیت
b85303121b
4فایلهای تغییر یافته به همراه1 افزوده شده و 20 حذف شده
  1. 1 1
      config/bundles.php
  2. 0 4
      config/packages/test/debug.yaml
  3. 0 9
      config/packages/test/nelmio_alice.yaml
  4. 0 6
      config/packages/test/web_profiler.yaml

+ 1 - 1
config/bundles.php

@@ -1,6 +1,6 @@
 <?php
 
-$devEnvs = ['dev' => true, 'docker' => true, 'test' => true, 'staging' => true];
+$devEnvs = ['dev' => true, 'docker' => true, 'test' => false, 'staging' => true];
 
 return [
     Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],

+ 0 - 4
config/packages/test/debug.yaml

@@ -1,4 +0,0 @@
-debug:
-    # Forwards VarDumper Data clones to a centralized server allowing to inspect dumps on CLI or in your browser.
-    # See the "server:dump" command to start a new server.
-    dump_destination: "tcp://%env(VAR_DUMPER_SERVER)%"

+ 0 - 9
config/packages/test/nelmio_alice.yaml

@@ -1,9 +0,0 @@
-nelmio_alice:
-    functions_blacklist:
-        - 'current'
-        - 'shuffle'
-        - 'date'
-        - 'time'
-        - 'file'
-        - 'md5'
-        - 'sha1'

+ 0 - 6
config/packages/test/web_profiler.yaml

@@ -1,6 +0,0 @@
-web_profiler:
-    toolbar: false
-    intercept_redirects: false
-
-framework:
-    profiler: { collect: false }