]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/plugins/plugin-helpers.ts
Plugin user.getAuthUser is now async
[github/Chocobozzz/PeerTube.git] / server / tests / plugins / plugin-helpers.ts
index 20020ec41c9e6ef63442584283030643a48b0985..f72de82296fc7a906251181d8bd9ce50e471ff61 100644 (file)
@@ -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