try with this

This commit is contained in:
einhorn_b 2021-05-24 11:48:55 +02:00
parent a0b6b3c5bb
commit 20d911a6d3
2 changed files with 3 additions and 1 deletions

View File

@ -316,7 +316,7 @@ jobs:
##########################################################################
- name: Login-Server | Unit tests
run: |
docker run -v ~/coverage:/code/build/coverage -v gradido/login_server:test " ./vendor/bin/phpunit --coverage-html ./coverage"
docker run -v ~/coverage:/code/build/coverage gradido/community_server:test " ./vendor/bin/phpunit --coverage-html ./coverage"
cp -r ~/coverage ./coverage
##########################################################################
# COVERAGE CHECK BACKEND COMMUNITY-SERVER ####################################

View File

@ -42,7 +42,9 @@ int load() {
Poco::AutoPtr<Poco::Util::LayeredConfiguration> test_config(new Poco::Util::LayeredConfiguration);
try {
auto cfg = new Poco::Util::PropertyFileConfiguration("Gradido_LoginServer_Test.properties");
std::clog << "[Gradido_LoginServer_Test::load] add config start" << std::endl;
test_config->add(cfg);
std::clog << "[Gradido_LoginServer_Test::load] after add config" << std::endl;
}
catch (Poco::Exception& ex) {
printf("[load] error loading Gradido_LoginServer_Test.properties, make sure this file exist! (%s)\n", ex.displayText().data());