Skip to content

Commit b873f83

Browse files
committed
onedrive: fix permissions on onedrive Personal
1 parent 1d6f869 commit b873f83

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

backend/onedrive/onedrive_internal_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,6 @@ func (f *Fs) TestReadPermissions(t *testing.T, r *fstest.Run) {
136136
_, expectedMeta := f.putWithMeta(ctx, t, &file1, []*api.PermissionsType{}) // return var intentionally switched here
137137
permissions := defaultPermissions(f.driveType)
138138
_, actualMeta := f.putWithMeta(ctx, t, &file1, permissions)
139-
if f.driveType == driveTypePersonal {
140-
perms, ok := actualMeta["permissions"]
141-
assert.False(t, ok, fmt.Sprintf("permissions metadata key was unexpectedly found: %v", perms))
142-
return
143-
}
144139
assert.JSONEq(t, expectedMeta["permissions"], actualMeta["permissions"])
145140
}
146141

0 commit comments

Comments
 (0)