feat: add auth config fields (SECRET_KEY, LDAP_*)
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user