Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Add settings test #128

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Add settings test #128

merged 1 commit into from
Feb 13, 2024

Conversation

neithanmo
Copy link
Collaborator

This adds:

  • Adds a default value for the database.port field in DatabaseConfig
  • Implements a test to validate Settings.example.toml against the Settings struct, ensuring that changes in the configuration code are consistently reflected in the example file used in documentation.

…xample.toml file aligns with Changes in code
@neithanmo neithanmo requested a review from rllola February 13, 2024 21:48
@rllola rllola merged commit 3ec0b29 into main Feb 13, 2024
6 checks passed
@rllola rllola deleted the feat/settings_test branch February 13, 2024 21:53
HadesGuard pushed a commit to HadesGuard/namadexer that referenced this pull request Feb 14, 2024
This adds:
- Adds a default value for the database.port field in DatabaseConfig
- Implements a test to validate Settings.example.toml against the
Settings struct, ensuring that changes in the configuration code are
consistently reflected in the example file used in documentation.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants