diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-04-12 22:00:26 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-04-12 22:14:22 +0200 |
commit | 86732aa01cf0ad0fb5279f38ce75a9bedbbb66e1 (patch) | |
tree | b0e35a7c53bc865bd2b437b1e8017003b1412363 /build.xml | |
parent | 443cff98405adfa7f27b5181f4aaa29bd7d050dc (diff) | |
download | wallabag-86732aa01cf0ad0fb5279f38ce75a9bedbbb66e1.tar.gz wallabag-86732aa01cf0ad0fb5279f38ce75a9bedbbb66e1.tar.zst wallabag-86732aa01cf0ad0fb5279f38ce75a9bedbbb66e1.zip |
Move test parameters out of parameters.yml
The end user doesn't care to about the test database.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -42,8 +42,8 @@ | |||
42 | <target name="db_mysql" description="Run test for MySQL"> | 42 | <target name="db_mysql" description="Run test for MySQL"> |
43 | <delete dir="${basedir}/app/config/parameters.yml"/> | 43 | <delete dir="${basedir}/app/config/parameters.yml"/> |
44 | <exec executable="cp"> | 44 | <exec executable="cp"> |
45 | <arg value="${basedir}/app/config/tests/parameters.yml.dist.mysql"/> | 45 | <arg value="${basedir}/app/config/tests/parameters_test.mysql.yml"/> |
46 | <arg value="${basedir}/app/config/parameters.yml"/> | 46 | <arg value="${basedir}/app/config/parameters_test.yml"/> |
47 | </exec> | 47 | </exec> |
48 | 48 | ||
49 | <exec executable="php"> | 49 | <exec executable="php"> |
@@ -56,8 +56,8 @@ | |||
56 | <target name="db_sqlite" description="Run test for SQLite"> | 56 | <target name="db_sqlite" description="Run test for SQLite"> |
57 | <delete dir="${basedir}/app/config/parameters.yml"/> | 57 | <delete dir="${basedir}/app/config/parameters.yml"/> |
58 | <exec executable="cp"> | 58 | <exec executable="cp"> |
59 | <arg value="${basedir}/app/config/tests/parameters.yml.dist.sqlite"/> | 59 | <arg value="${basedir}/app/config/tests/parameters_test.sqlite.yml"/> |
60 | <arg value="${basedir}/app/config/parameters.yml"/> | 60 | <arg value="${basedir}/app/config/parameters_test.yml"/> |
61 | </exec> | 61 | </exec> |
62 | 62 | ||
63 | <exec executable="php"> | 63 | <exec executable="php"> |
@@ -70,8 +70,8 @@ | |||
70 | <target name="db_pgsql" description="Run test for PostgreSQL"> | 70 | <target name="db_pgsql" description="Run test for PostgreSQL"> |
71 | <delete dir="${basedir}/app/config/parameters.yml"/> | 71 | <delete dir="${basedir}/app/config/parameters.yml"/> |
72 | <exec executable="cp"> | 72 | <exec executable="cp"> |
73 | <arg value="${basedir}/app/config/tests/parameters.yml.dist.pgsql"/> | 73 | <arg value="${basedir}/app/config/tests/parameters_test.pgsql.yml"/> |
74 | <arg value="${basedir}/app/config/parameters.yml"/> | 74 | <arg value="${basedir}/app/config/parameters_test.yml"/> |
75 | </exec> | 75 | </exec> |
76 | 76 | ||
77 | <exec executable="php"> | 77 | <exec executable="php"> |