fix: update docker action test to expect ok field
Deploy Dashboard (Dev) / deploy-dev (push) Successful in 2m6s
Run Tests / Backend Tests (push) Failing after 1m59s
Run Tests / Test Summary (push) Has been cancelled
Run Tests / Frontend Tests (push) Has been cancelled

This commit is contained in:
Gan, Jimmy
2026-04-06 22:57:15 +08:00
parent 17c1fb3057
commit 7fdc64451c
@@ -42,7 +42,7 @@ class TestDockerContainerActions:
assert response.status_code == 200 assert response.status_code == 200
data = response.json() data = response.json()
assert "message" in data or "status" in data assert data["ok"] is True
def test_stop_container_success(self, test_app, admin_headers, mock_docker_client): def test_stop_container_success(self, test_app, admin_headers, mock_docker_client):
"""Test stopping a container.""" """Test stopping a container."""