Added tests for RedirectController

This commit is contained in:
Jan Böhmer 2019-10-20 14:35:19 +02:00
parent 40ca5bd0e4
commit 45a624d768
15 changed files with 509 additions and 6 deletions

View file

@ -1,7 +1,11 @@
language: php
services:
- mysql
env:
- SYMFONY_DEPRECATIONS_HELPER=disabled # Disable deprecation warnings
- APP_ENV=test
# Test for all supported PHP versions
php:
@ -11,8 +15,13 @@ php:
- '7.4snapshot'
- 'nightly'
before_install:
- mysql -e 'CREATE DATABASE partdb_test;
install:
- composer install
- php bin/console doctrine:migrations:migrate -n
- php bin/console doctrine:fixtures:load -n
script:
- php bin/phpunit