aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-01-08 14:06:53 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-01-08 14:09:13 +0100
commitf01676085101e2687d15ddd1290cc22cfbfdc150 (patch)
tree1a91fc7e3900212007400d3feb67f21a3effbe97 /tests/unit
parent99b5166f21ce9269ec33e44555093a30ca5ee230 (diff)
downloadvolse-hubzilla-f01676085101e2687d15ddd1290cc22cfbfdc150.tar.gz
volse-hubzilla-f01676085101e2687d15ddd1290cc22cfbfdc150.tar.bz2
volse-hubzilla-f01676085101e2687d15ddd1290cc22cfbfdc150.zip
tests: Add config fixtures.
Adds fixtures for the config table: - Disables dns checking globally for the tests. - Adds a few disallowed email domains and addresses.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/includes/dba/_files/config.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/unit/includes/dba/_files/config.yml b/tests/unit/includes/dba/_files/config.yml
new file mode 100644
index 000000000..80b9ba12f
--- /dev/null
+++ b/tests/unit/includes/dba/_files/config.yml
@@ -0,0 +1,13 @@
+---
+config:
+ -
+ id: 1
+ cat: system
+ k: do_not_check_dns
+ v: true
+ -
+ id: 2
+ cat: system
+ k: not_allowed_email
+ v: 'baduser@example.com,baddomain.com,*.evil.org'
+