Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

Commit

Permalink
SAAS-175 Remove password reset permission test
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Jul 28, 2020
1 parent d4a78e0 commit 6a22021
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions server/auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,6 @@ func TestPermissions(t *testing.T) {
{userType: "editor", login: editor, statusCode: 401},
{userType: "admin", login: admin, statusCode: 400}, // We send bad request, but have access to endpoint
}},
{name: "platform-reset-password", url: "/v1/Platform/ResetPassword", method: "POST", userCase: []userCase{
{userType: "default", login: none, statusCode: 401},
{userType: "viewer", login: viewer, statusCode: 401},
{userType: "editor", login: editor, statusCode: 401},
{userType: "admin", login: admin, statusCode: 400}, // We send bad request, but have access to endpoint
}},
}

for _, test := range tests {
Expand Down

0 comments on commit 6a22021

Please sign in to comment.