mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Plugin user.getAuthUser is now async
So we can load the full user
This commit is contained in:
parent
7a22a0a56a
commit
b31d72625d
6 changed files with 19 additions and 7 deletions
|
@ -133,6 +133,7 @@ describe('Test plugin helpers', function () {
|
|||
})
|
||||
|
||||
expect(res.body.username).to.equal('root')
|
||||
expect(res.body.displayName).to.equal('root')
|
||||
expect(res.body.isAdmin).to.be.true
|
||||
expect(res.body.isModerator).to.be.false
|
||||
expect(res.body.isUser).to.be.false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue