diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-07 20:39:03 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-07 20:39:03 +0100 |
commit | 8af35ad932177e0363412a868afc128b406e3322 (patch) | |
tree | 8d517780d2a82d68ebd06aea2da2fc4c7c67b5bb /app | |
parent | d01db0c71dcf183f1676b6b06206456138cb7660 (diff) | |
parent | 9c0c88200635a979b9abdcba922e1d3904790636 (diff) | |
download | wallabag-8af35ad932177e0363412a868afc128b406e3322.tar.gz wallabag-8af35ad932177e0363412a868afc128b406e3322.tar.zst wallabag-8af35ad932177e0363412a868afc128b406e3322.zip |
Merge pull request #1066 from wallabag/v2-api-tests-entry
V2 api tests entry
Diffstat (limited to 'app')
-rw-r--r-- | app/build.xml | 5 | ||||
-rw-r--r-- | app/phpunit.xml.dist | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/app/build.xml b/app/build.xml index 700a31b5..6427867c 100644 --- a/app/build.xml +++ b/app/build.xml | |||
@@ -26,6 +26,11 @@ | |||
26 | </exec> | 26 | </exec> |
27 | <exec executable="php"> | 27 | <exec executable="php"> |
28 | <arg value="${basedir}/../app/console"/> | 28 | <arg value="${basedir}/../app/console"/> |
29 | <arg value="doctrine:schema:create"/> | ||
30 | <arg value="--env=test"/> | ||
31 | </exec> | ||
32 | <exec executable="php"> | ||
33 | <arg value="${basedir}/../app/console"/> | ||
29 | <arg value="cache:clear"/> | 34 | <arg value="cache:clear"/> |
30 | <arg value="--env=test"/> | 35 | <arg value="--env=test"/> |
31 | </exec> | 36 | </exec> |
diff --git a/app/phpunit.xml.dist b/app/phpunit.xml.dist index 6593a2f0..b8f38ff8 100644 --- a/app/phpunit.xml.dist +++ b/app/phpunit.xml.dist | |||
@@ -23,8 +23,9 @@ | |||
23 | <directory>../src</directory> | 23 | <directory>../src</directory> |
24 | <exclude> | 24 | <exclude> |
25 | <directory>../vendor</directory> | 25 | <directory>../vendor</directory> |
26 | <directory>../src/Acme</directory> | 26 | <directory>../src/Wallabag/CoreBundle/Resources</directory> |
27 | <directory>../src/AppBundle</directory> | 27 | <directory>../src/Wallabag/CoreBundle/Tests</directory> |
28 | <directory>../src/Wallabag/CoreBundle/DataFixtures</directory> | ||
28 | </exclude> | 29 | </exclude> |
29 | </whitelist> | 30 | </whitelist> |
30 | </filter> | 31 | </filter> |