X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/9ebf276dbdf3ecae5bdf478ec91efcefc22d6ee3..85767504e4dc622c5ff469733e49c0cebcee57f1:/hotline/transaction_handlers_test.go 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 }(),