mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
Handle playlist's permissions on server
This commit is contained in:
parent
4906b816af
commit
c6f23139bc
3 changed files with 41 additions and 2 deletions
|
@ -86,7 +86,7 @@ var _ = Describe("Initialize test DB", func() {
|
|||
BeforeSuite(func() {
|
||||
o := orm.NewOrm()
|
||||
ctx := log.NewContext(context.TODO())
|
||||
ctx = request.WithUser(ctx, model.User{ID: "userid"})
|
||||
ctx = request.WithUser(ctx, model.User{ID: "userid", UserName: "userid"})
|
||||
mr := NewMediaFileRepository(ctx, o)
|
||||
for i := range testSongs {
|
||||
s := testSongs[i]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue