mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-02 00:09:32 +00:00
Added tests for RedirectController
This commit is contained in:
parent
40ca5bd0e4
commit
45a624d768
15 changed files with 509 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue