Browse Source

Fix parameter missing. Phpunit config

Guillermo Espinoza 7 years ago
parent
commit
9c5a7eaea5
2 changed files with 7 additions and 1 deletions
  1. 2 1
      app/config/config.yml
  2. 5 0
      phpunit.xml.dist

+ 2 - 1
app/config/config.yml

@@ -26,11 +26,12 @@ imports:
 # Put parameters here that don't need to change on each machine where the app is deployed
 # https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
 parameters:
+    app_name: cablemodem
     locale: es
 
 framework:
     #esi: ~
-    #translator: { fallbacks: ['%locale%'] }
+    translator: { fallbacks: ['%locale%'] }
     secret: '%secret%'
     router:
         resource: '%kernel.project_dir%/app/config/routing.yml'

+ 5 - 0
phpunit.xml.dist

@@ -15,6 +15,11 @@
     <testsuites>
         <testsuite name="Project Test Suite">
             <directory>tests</directory>
+            <directory>src/*Bundle/tests</directory>
+        </testsuite>
+        <testsuite name="Ik vendors Test Suite">
+            <directory>tests</directory>
+            <directory>vendor/ik/*/tests</directory>
         </testsuite>
     </testsuites>