Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix scim test
  • Loading branch information
Emyrk committed Oct 25, 2024
commit cce83a3d5cd0f668a6f784ecc6a36da20c9242a0
4 changes: 2 additions & 2 deletions enterprise/coderd/scim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func TestScim(t *testing.T) {
res, err := client.Request(ctx, "POST", "/scim/v2/Users", struct{}{})
require.NoError(t, err)
defer res.Body.Close()
assert.Equal(t, http.StatusNotFound, res.StatusCode)
assert.Equal(t, http.StatusForbidden, res.StatusCode)
})

t.Run("noAuth", func(t *testing.T) {
Expand Down Expand Up @@ -362,7 +362,7 @@ func TestScim(t *testing.T) {
require.NoError(t, err)
_, _ = io.Copy(io.Discard, res.Body)
_ = res.Body.Close()
assert.Equal(t, http.StatusNotFound, res.StatusCode)
assert.Equal(t, http.StatusForbidden, res.StatusCode)
})

t.Run("noAuth", func(t *testing.T) {
Expand Down
Loading