diff --git a/.travis.yml b/.travis.yml index f1f370ea6..b3bcf076b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ install: before_script: - psql -c 'create database test0;' -U postgres - php Tests/Fixtures/App/app/console.php --env=test cache:warmup + - php Tests/Fixtures/App/app/console.php assets:install Tests/Fixtures/App/web - php Tests/Fixtures/App/app/console.php doctrine:schema:create --env=test --no-interaction - php Tests/Fixtures/App/app/console.php doctrine:fixtures:load --env=test --no-interaction diff --git a/Tests/Fixtures/App/app/AppKernel.php b/Tests/Fixtures/App/app/AppKernel.php index 6bb328454..9880d4828 100644 --- a/Tests/Fixtures/App/app/AppKernel.php +++ b/Tests/Fixtures/App/app/AppKernel.php @@ -39,7 +39,7 @@ class AppKernel extends Kernel */ public function getLogDir() { - return $this->getRootDir().'/../logs'; + return sys_get_temp_dir().'/PersonBundle/logs'; } } diff --git a/Tests/Fixtures/App/app/config/config.yml b/Tests/Fixtures/App/app/config/config.yml index c81b2494d..219c7e736 100644 --- a/Tests/Fixtures/App/app/config/config.yml +++ b/Tests/Fixtures/App/app/config/config.yml @@ -12,6 +12,15 @@ framework: profiler: { only_exceptions: false } templating: engines: ['twig'] + +# Assetic Configuration +assetic: + debug: "%kernel.debug%" + use_controller: false + bundles: [ ] + #java: /usr/bin/java + filters: + cssrewrite: ~ doctrine: dbal: @@ -46,7 +55,7 @@ security: default: anonymous: ~ - + http_basic: ~ form_login: csrf_parameter: _csrf_token intention: authenticate diff --git a/Tests/Fixtures/App/app/config/routing.yml b/Tests/Fixtures/App/app/config/routing.yml index 13acf8d6f..90b69bca9 100644 --- a/Tests/Fixtures/App/app/config/routing.yml +++ b/Tests/Fixtures/App/app/config/routing.yml @@ -1,4 +1,7 @@ -cl_custom_fields: +chill_person: resource: . - type: chill_routes + type: chill_routes_person + +chill_main: + resource: "@ChillMainBundle/Resources/config/routing.yml"