diff options
| author | mihna123 <mihailonvojinovic@gmail.com> | 2026-09-10 18:29:18 +0200 |
|---|---|---|
| committer | mihna123 <mihailonvojinovic@gmail.com> | 2026-09-10 18:29:18 +0200 |
| commit | da66d1ad1d785011c96a1bda876a3b94c1b199c7 (patch) | |
| tree | 2625e1b0b97cb5943d69e0562fc4d4539052999b /internal/config/testdata | |
| parent | 6ebf9899277aea836f38dca631552f7c2c596330 (diff) | |
| download | openstore-da66d1ad1d785011c96a1bda876a3b94c1b199c7.tar.gz openstore-da66d1ad1d785011c96a1bda876a3b94c1b199c7.zip | |
config: add database section to config and remove defaults
Diffstat (limited to 'internal/config/testdata')
| -rw-r--r-- | internal/config/testdata/full.conf | 5 | ||||
| -rw-r--r-- | internal/config/testdata/no-db.conf | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/internal/config/testdata/full.conf b/internal/config/testdata/full.conf index 1f703f0..c7d85a2 100644 --- a/internal/config/testdata/full.conf +++ b/internal/config/testdata/full.conf @@ -1,6 +1,11 @@ [serve] addr = 127.0.0.1:8080 +[database] +name = openstore +user = openstore +password = 12345678 + [instance] name = Full Store contact-email = full@store.com diff --git a/internal/config/testdata/no-db.conf b/internal/config/testdata/no-db.conf new file mode 100644 index 0000000..1f703f0 --- /dev/null +++ b/internal/config/testdata/no-db.conf @@ -0,0 +1,7 @@ +[serve] +addr = 127.0.0.1:8080 + +[instance] +name = Full Store +contact-email = full@store.com +base-url = https://full.store.com |
