mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
Checks to see if user id and username match chat
This commit is contained in:
parent
c5de07d33e
commit
a9232156ef
1 changed files with 2 additions and 1 deletions
|
|
@ -216,7 +216,8 @@ describe "API", ->
|
|||
expect(chat.uuid).to.be.ok
|
||||
expect(chat.contributor).to.be.empty
|
||||
expect(chat.backer).to.be.empty
|
||||
expect(chat.user).to.be.ok
|
||||
expect(chat.uuid).to.be user._id
|
||||
expect(chat.user).to.be user.profile.name
|
||||
done()
|
||||
|
||||
it "can not like own chat message", (done) ->
|
||||
|
|
|
|||
Loading…
Reference in a new issue