Update authentication test to check for 'token' field instead of 'access_token' in login response
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m6s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
Python Tests / test-python (push) Failing after 1m6s
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m6s
Multi-Node Stress Testing / stress-test (push) Successful in 2s
Node Failover Simulation / failover-test (push) Successful in 2s
Python Tests / test-python (push) Failing after 1m6s
- Change assertion from 'access_token' to 'token' in test_login_success method
This commit is contained in:
@@ -322,7 +322,7 @@ class TestAuthentication:
|
||||
assert response.status_code == 200
|
||||
data = response.json()
|
||||
assert data["status"] == "success"
|
||||
assert "access_token" in data
|
||||
assert "token" in data
|
||||
|
||||
def test_validate_token_success(self, coordinator_client: TestClient):
|
||||
"""Test successful token validation."""
|
||||
|
||||
Reference in New Issue
Block a user