aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-01-15 19:25:09 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-01-15 19:25:09 +0100
commitecd4754f6d904158606b39ce40af3d834e4550e0 (patch)
tree39f9c1e71ba06cf62f768af34cd48bc0f0e977fa /tests/unit/includes
parentf71033b30dc20c67e6ed336178d1ac0144ea5c8a (diff)
downloadvolse-hubzilla-ecd4754f6d904158606b39ce40af3d834e4550e0.tar.gz
volse-hubzilla-ecd4754f6d904158606b39ce40af3d834e4550e0.tar.bz2
volse-hubzilla-ecd4754f6d904158606b39ce40af3d834e4550e0.zip
tests: Enable debug logging during tests
The debug log will be stored in the test/results directory, and archived as part of the artifacts of the CI run. This should make it easier to get some debugging info out from the CI runs if they fail.
Diffstat (limited to 'tests/unit/includes')
-rw-r--r--tests/unit/includes/dba/_files/config.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/unit/includes/dba/_files/config.yml b/tests/unit/includes/dba/_files/config.yml
index a8034f2de..e93486857 100644
--- a/tests/unit/includes/dba/_files/config.yml
+++ b/tests/unit/includes/dba/_files/config.yml
@@ -8,4 +8,16 @@ config:
cat: system
k: not_allowed_email
v: 'baduser@example.com,baddomain.com,*.evil.org'
+ -
+ cat: system
+ k: debugging
+ v: true
+ -
+ cat: system
+ k: loglevel
+ v: 2
+ -
+ cat: system
+ k: logfile
+ v: tests/results/unit_test.log