From 8ff6d5e49b8237c32309b40f6c7df1e01a06275b Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Mon, 4 Mar 2024 09:52:37 +0100 Subject: [PATCH] chore: synchronize workspaces --- selfservice/strategy/password/settings_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfservice/strategy/password/settings_test.go b/selfservice/strategy/password/settings_test.go index 65e17f635f03..a4ee7e6c7fa0 100644 --- a/selfservice/strategy/password/settings_test.go +++ b/selfservice/strategy/password/settings_test.go @@ -222,8 +222,8 @@ func TestSettings(t *testing.T) { values.Set("method", "password") values.Set("password", x.NewUUID().String()) actual, res := testhelpers.SettingsMakeRequest(t, false, false, f, browserUser2, values.Encode()) - assert.Equal(t, http.StatusForbidden, res.StatusCode) - assert.Contains(t, gjson.Get(actual, "error.reason").String(), "initiated by someone else", "%s", actual) + assert.Equal(t, http.StatusOK, res.StatusCode) + assert.Contains(t, gjson.Get(actual, "reason").String(), "initiated by someone else", "%s", actual) }) })