Phpunit is working

This commit is contained in:
Marc Ducobu
2014-11-07 23:17:54 +01:00
parent f1b66bb6dc
commit c7e4388645
8 changed files with 37 additions and 21 deletions

View File

@@ -1,4 +1,6 @@
# config/config.yml
imports:
- { resource: parameters.yml }
framework:
secret: Not very secret
router: { resource: "%kernel.root_dir%/config/routing.yml" }
@@ -9,4 +11,17 @@ framework:
translator: { fallback: fr }
profiler: { only_exceptions: false }
templating: #required for assetic. Remove if not needed
engines: ['twig']
engines: ['twig']
doctrine:
dbal:
driver: pdo_pgsql
host: "%database_host%"
port: "%database_port%"
dbname: "%database_name%"
user: "%database_user%"
password: "%database_password%"
charset: UTF8
orm:
auto_generate_proxy_classes: "%kernel.debug%"
auto_mapping: true

View File

@@ -0,0 +1,6 @@
parameters:
database_host: 127.0.0.1
database_port: 5434
database_name: symfony
database_user: symfony
database_password: symfony

View File

@@ -0,0 +1,6 @@
parameters:
database_host: 127.0.0.1
database_port: 5434
database_name: symfony
database_user: symfony
database_password: symfony

View File

@@ -1 +0,0 @@
routing.yml