aboutsummaryrefslogtreecommitdiff
path: root/hotline/transaction_handlers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/transaction_handlers_test.go')
-rw-r--r--hotline/transaction_handlers_test.go3
1 files changed, 2 insertions, 1 deletions
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
}(),