diff --git a/tests/app/commands/test_check.py b/tests/app/commands/test_check.py index b15132f5..ea53adaf 100644 --- a/tests/app/commands/test_check.py +++ b/tests/app/commands/test_check.py @@ -8,7 +8,7 @@ def test_check_command(testclient): def test_check_command_fail(testclient): - testclient.app.config["BACKENDS"]["LDAP"]["URI"] = "ldap://invalid-ldap.com" + testclient.app.config["SMTP"]["HOST"] = "ldap://invalid-ldap.com" runner = testclient.app.test_cli_runner() res = runner.invoke(cli, ["check"]) assert res.exit_code == 1, res.stdout