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:
parent
94f2364cd8
commit
9c0c882006
3 changed files with 86 additions and 3 deletions
|
@ -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"/>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue