mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-04 07:56:12 +00:00
bootstrap local app for tests
This commit is contained in:
parent
f5752acdc3
commit
567ebb41ab
@ -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
|
||||
|
||||
|
@ -39,7 +39,7 @@ class AppKernel extends Kernel
|
||||
*/
|
||||
public function getLogDir()
|
||||
{
|
||||
return $this->getRootDir().'/../logs';
|
||||
return sys_get_temp_dir().'/PersonBundle/logs';
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -13,6 +13,15 @@ framework:
|
||||
templating:
|
||||
engines: ['twig']
|
||||
|
||||
# Assetic Configuration
|
||||
assetic:
|
||||
debug: "%kernel.debug%"
|
||||
use_controller: false
|
||||
bundles: [ ]
|
||||
#java: /usr/bin/java
|
||||
filters:
|
||||
cssrewrite: ~
|
||||
|
||||
doctrine:
|
||||
dbal:
|
||||
driver: pdo_pgsql
|
||||
@ -46,7 +55,7 @@ security:
|
||||
|
||||
default:
|
||||
anonymous: ~
|
||||
|
||||
http_basic: ~
|
||||
form_login:
|
||||
csrf_parameter: _csrf_token
|
||||
intention: authenticate
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user