feat: add auth config fields (SECRET_KEY, LDAP_*)

This commit is contained in:
Oliver Hofmann
2026-04-27 09:30:21 +02:00
parent 8d7f9df6fc
commit 60c21b46de
4 changed files with 26 additions and 3 deletions
+10
View File
@@ -0,0 +1,10 @@
from app.core.config import get_settings
def test_new_config_fields_have_defaults():
s = get_settings()
assert hasattr(s, "SECRET_KEY")
assert hasattr(s, "LDAP_ENABLED")
assert s.LDAP_ENABLED is False
assert s.LDAP_SERVER == "gso1.ads1.fh-nuernberg.de"
assert s.LDAP_DOMAIN == "ADS1"