File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
imports :
2
2
- { resource: config_dev.yml }
3
3
4
+ parameters :
5
+ # It's recommended to use a separate database for tests. This allows to have a
6
+ # fixed and known set of data fixtures, it simplifies the code of tests and it
7
+ # makes them more robust.
8
+ # In this case we just need to define a different path for the application database.
9
+ env(DATABASE_URL) : ' sqlite:///%kernel.project_dir%/var/data/blog_test.sqlite'
10
+
4
11
framework :
5
12
test : ~
6
13
session :
Original file line number Diff line number Diff line change 10
10
<php >
11
11
<ini name =" error_reporting" value =" -1" />
12
12
<server name =" KERNEL_DIR" value =" app/" />
13
- <env name =" DATABASE_URL" value =" sqlite:///var/data/blog_test.sqlite" />
14
13
</php >
15
14
16
15
<testsuites >
You can’t perform that action at this time.
0 commit comments