1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Add some tests on EntryController

Also, create database schema on test initialisation
This commit is contained in:
Jeremy 2015-02-07 18:30:46 +01:00
parent 94f2364cd8
commit 9c0c882006
3 changed files with 86 additions and 3 deletions

View file

@ -24,6 +24,11 @@
<arg value="doctrine:database:create"/>
<arg value="--env=test"/>
</exec>
<exec executable="php">
<arg value="${basedir}/../app/console"/>
<arg value="doctrine:schema:create"/>
<arg value="--env=test"/>
</exec>
<exec executable="php">
<arg value="${basedir}/../app/console"/>
<arg value="cache:clear"/>

View file

@ -23,8 +23,9 @@
<directory>../src</directory>
<exclude>
<directory>../vendor</directory>
<directory>../src/Acme</directory>
<directory>../src/AppBundle</directory>
<directory>../src/Wallabag/CoreBundle/Resources</directory>
<directory>../src/Wallabag/CoreBundle/Tests</directory>
<directory>../src/Wallabag/CoreBundle/DataFixtures</directory>
</exclude>
</whitelist>
</filter>