storj/satellite/console/consoleweb/consoleapi
Ivan Fraixedes 4b61ca638b
satellite/console/consoleweb/consoleapi: Fix & add test DeleteAccount
Fix the DeleteAccount handler to return 501 HTTP status code because
it's what corresponds for a "Not Implemented" status.

Add a black box test for the DeleteAccount to ensure that always return
an error response because, at this time, we don't allow to delete
accounts through the API.

This test was not added to the corresponding commit
https://review.dev.storj.io/c/storj/storj/+/2712 due to the rush to
fix it.

Change-Id: Ibcf09e2ec52f182a8a580d606c457328d94c8b60
2020-10-23 09:14:50 +02:00
..
auth_test.go satellite/console/consoleweb/consoleapi: Fix & add test DeleteAccount 2020-10-23 09:14:50 +02:00
auth.go satellite/console/consoleweb/consoleapi: Fix & add test DeleteAccount 2020-10-23 09:14:50 +02:00
payments_test.go satellite/console: make paywall optional 2020-07-28 10:57:49 +00:00
payments.go satellite/console: make paywall optional 2020-07-28 10:57:49 +00:00
referrals.go satellite/referrals: set up referrals service and http endpoints (#3566) 2019-11-25 16:36:36 -05:00