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

Commit 6a22021

Browse files
committed
SAAS-175 Remove password reset permission test
1 parent d4a78e0 commit 6a22021

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

server/auth_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,6 @@ func TestPermissions(t *testing.T) {
275275
{userType: "editor", login: editor, statusCode: 401},
276276
{userType: "admin", login: admin, statusCode: 400}, // We send bad request, but have access to endpoint
277277
}},
278-
{name: "platform-reset-password", url: "/v1/Platform/ResetPassword", method: "POST", userCase: []userCase{
279-
{userType: "default", login: none, statusCode: 401},
280-
{userType: "viewer", login: viewer, statusCode: 401},
281-
{userType: "editor", login: editor, statusCode: 401},
282-
{userType: "admin", login: admin, statusCode: 400}, // We send bad request, but have access to endpoint
283-
}},
284278
}
285279

286280
for _, test := range tests {

0 commit comments

Comments
 (0)