Fixed failing unit test on handlers

This commit is contained in:
anonpenguin23 2026-01-29 09:54:26 +02:00
parent 42c0c61d19
commit e706ed3397

View File

@ -398,7 +398,7 @@ func TestListHandler_AllDeployments(t *testing.T) {
portAllocator: portAlloc,
logger: zap.NewNop(),
}
handler := NewListHandler(service, zap.NewNop())
handler := NewListHandler(service, nil, nil, zap.NewNop(), "")
req := httptest.NewRequest("GET", "/v1/deployments/list", nil)
ctx := context.WithValue(req.Context(), ctxkeys.NamespaceOverride, "test-namespace")