ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
173 stars 110 forks source link

Fix integration tests #1086

Open ppazos opened 3 years ago

ppazos commented 3 years ago

There is a problem with grails test-app -integration

The XmlService has scope = request and can't be included in a singleton one that is the SyncService

Check https://stackoverflow.com/questions/14550450/grails-scoped-service-in-integration-test

One solution would be to remove the error reporting field from the service and make it singleton

Also check if travis can work after the fix: