X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/9ebf276dbdf3ecae5bdf478ec91efcefc22d6ee3..25f0d77de4489c6759a497617606f2933ca76fc9:/hotline/transaction_handlers_test.go?ds=sidebyside diff --git a/hotline/transaction_handlers_test.go b/hotline/transaction_handlers_test.go index b8c74bb..e1dc8cb 100644 --- a/hotline/transaction_handlers_test.go +++ b/hotline/transaction_handlers_test.go @@ -818,7 +818,7 @@ func TestHandleUploadFile(t *testing.T) { wantErr bool }{ { - name: "when request is valid", + name: "when request is valid and user has Upload Anywhere permission", args: args{ cc: &ClientConn{ Server: &Server{ @@ -828,6 +828,7 @@ func TestHandleUploadFile(t *testing.T) { Access: func() *[]byte { var bits accessBitmap bits.Set(accessUploadFile) + bits.Set(accessUploadAnywhere) access := bits[:] return &access }(),