From 944b3600540717ee7f529b25c680560de2f356fc Mon Sep 17 00:00:00 2001 From: Lucas Winther Date: Thu, 12 Nov 2026 14:55:58 +0100 Subject: [PATCH] protondrive: follow the renamed Proton code constant in the fake's tests Co-Authored-By: Claude Opus 5.5 --- backend/protondrive/protontest/server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/protondrive/protontest/server_test.go b/backend/protondrive/protontest/server_test.go index 5f8c5821b..64d5fac58 100644 --- a/backend/protondrive/protontest/server_test.go +++ b/backend/protondrive/protontest/server_test.go @@ -150,7 +150,7 @@ func TestFaultInjection(t *testing.T) { assert.Equal(t, http.StatusOK, resp.StatusCode) resp, body := ping(t, s) assert.Equal(t, http.StatusServiceUnavailable, resp.StatusCode) - assert.Equal(t, api.CodeAppVersionBad, decodeError(t, body).Code) + assert.Equal(t, api.CodeFeatureBlocked, decodeError(t, body).Code) resp, _ = ping(t, s) assert.Equal(t, http.StatusOK, resp.StatusCode) })