@@ -281,17 +281,17 @@ func TestEndpointOptions(t *testing.T) {
281281 {"/consumed" , []string {"GET" }, http .StatusNoContent },
282282 {"/consumed/{peer}" , []string {"GET" }, http .StatusNoContent },
283283 {"/timesettlements" , []string {"GET" }, http .StatusNoContent },
284- {"/settlements" , nil , http .StatusNotImplemented },
285- {"/settlements/{peer}" , nil , http .StatusNotImplemented },
286- {"/chequebook/cheque/{peer}" , nil , http .StatusNotImplemented },
287- {"/chequebook/cheque" , nil , http .StatusNotImplemented },
288- {"/chequebook/cashout/{peer}" , nil , http .StatusNotImplemented },
284+ {"/settlements" , nil , http .StatusForbidden },
285+ {"/settlements/{peer}" , nil , http .StatusForbidden },
286+ {"/chequebook/cheque/{peer}" , nil , http .StatusForbidden },
287+ {"/chequebook/cheque" , nil , http .StatusForbidden },
288+ {"/chequebook/cashout/{peer}" , nil , http .StatusForbidden },
289289 {"/chequebook/balance" , []string {"GET" }, http .StatusNoContent },
290290 {"/chequebook/address" , []string {"GET" }, http .StatusNoContent },
291291 {"/chequebook/deposit" , []string {"POST" }, http .StatusNoContent },
292292 {"/chequebook/withdraw" , []string {"POST" }, http .StatusNoContent },
293- {"/wallet" , nil , http .StatusNotImplemented },
294- {"/wallet/withdraw/{coin}" , nil , http .StatusNotImplemented },
293+ {"/wallet" , nil , http .StatusForbidden },
294+ {"/wallet/withdraw/{coin}" , nil , http .StatusForbidden },
295295 {"/stamps" , []string {"GET" }, http .StatusNoContent },
296296 {"/stamps/{batch_id}" , []string {"GET" }, http .StatusNoContent },
297297 {"/stamps/{batch_id}/buckets" , []string {"GET" }, http .StatusNoContent },
@@ -381,12 +381,12 @@ func TestEndpointOptions(t *testing.T) {
381381 {"/chequebook/cheque/{peer}" , []string {"GET" }, http .StatusNoContent },
382382 {"/chequebook/cheque" , []string {"GET" }, http .StatusNoContent },
383383 {"/chequebook/cashout/{peer}" , []string {"GET" , "POST" }, http .StatusNoContent },
384- {"/chequebook/balance" , nil , http .StatusNotImplemented },
385- {"/chequebook/address" , nil , http .StatusNotImplemented },
386- {"/chequebook/deposit" , nil , http .StatusNotImplemented },
387- {"/chequebook/withdraw" , nil , http .StatusNotImplemented },
388- {"/wallet" , nil , http .StatusNotImplemented },
389- {"/wallet/withdraw/{coin}" , nil , http .StatusNotImplemented },
384+ {"/chequebook/balance" , nil , http .StatusForbidden },
385+ {"/chequebook/address" , nil , http .StatusForbidden },
386+ {"/chequebook/deposit" , nil , http .StatusForbidden },
387+ {"/chequebook/withdraw" , nil , http .StatusForbidden },
388+ {"/wallet" , nil , http .StatusForbidden },
389+ {"/wallet/withdraw/{coin}" , nil , http .StatusForbidden },
390390 {"/stamps" , []string {"GET" }, http .StatusNoContent },
391391 {"/stamps/{batch_id}" , []string {"GET" }, http .StatusNoContent },
392392 {"/stamps/{batch_id}/buckets" , []string {"GET" }, http .StatusNoContent },
0 commit comments