From f01676085101e2687d15ddd1290cc22cfbfdc150 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 8 Jan 2024 14:06:53 +0100 Subject: 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. --- tests/unit/includes/dba/_files/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/unit/includes/dba/_files/config.yml 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' + -- cgit v1.2.3