mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
try with this
This commit is contained in:
parent
a0b6b3c5bb
commit
20d911a6d3
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -316,7 +316,7 @@ jobs:
|
|||||||
##########################################################################
|
##########################################################################
|
||||||
- name: Login-Server | Unit tests
|
- name: Login-Server | Unit tests
|
||||||
run: |
|
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
|
cp -r ~/coverage ./coverage
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# COVERAGE CHECK BACKEND COMMUNITY-SERVER ####################################
|
# COVERAGE CHECK BACKEND COMMUNITY-SERVER ####################################
|
||||||
|
|||||||
@ -42,7 +42,9 @@ int load() {
|
|||||||
Poco::AutoPtr<Poco::Util::LayeredConfiguration> test_config(new Poco::Util::LayeredConfiguration);
|
Poco::AutoPtr<Poco::Util::LayeredConfiguration> test_config(new Poco::Util::LayeredConfiguration);
|
||||||
try {
|
try {
|
||||||
auto cfg = new Poco::Util::PropertyFileConfiguration("Gradido_LoginServer_Test.properties");
|
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);
|
test_config->add(cfg);
|
||||||
|
std::clog << "[Gradido_LoginServer_Test::load] after add config" << std::endl;
|
||||||
}
|
}
|
||||||
catch (Poco::Exception& ex) {
|
catch (Poco::Exception& ex) {
|
||||||
printf("[load] error loading Gradido_LoginServer_Test.properties, make sure this file exist! (%s)\n", ex.displayText().data());
|
printf("[load] error loading Gradido_LoginServer_Test.properties, make sure this file exist! (%s)\n", ex.displayText().data());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user