From b98e7cb42fcbd5c64285a3194867e2b252e6f9b0 Mon Sep 17 00:00:00 2001 From: chiguyong Date: Thu, 2 Jul 2026 21:30:21 +0800 Subject: [PATCH] test: update login test to expect standardized port 18001 The test was asserting port 8001 (old default) but config.py now loads .env.dev which sets AGENTKIT_SERVER_PORT=18001 per the project port standardization (18001/18002/15173/15174). --- tests/unit/cli/test_admin_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/cli/test_admin_commands.py b/tests/unit/cli/test_admin_commands.py index aac5b37..9471055 100644 --- a/tests/unit/cli/test_admin_commands.py +++ b/tests/unit/cli/test_admin_commands.py @@ -788,7 +788,7 @@ class TestLoginCommand: with open(config_path) as f: cfg = yaml.safe_load(f) assert cfg["token"] == "jwt-token-123" - assert cfg["server_url"] == "http://localhost:8001" + assert cfg["server_url"] == "http://localhost:18001" def test_login_with_server_url(self): """admin login --server-url saves the custom URL."""