mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-22 05:38:46 +00:00
test on conversations having a message
This commit is contained in:
parent
403efd4ddc
commit
ca5439d2c5
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ describe('GET /inbox/conversations', () => {
|
|||
expect(result.length).to.be.equal(3);
|
||||
expect(result[0].user).to.be.equal(user.profile.name);
|
||||
expect(result[0].username).to.be.equal(user.auth.local.username);
|
||||
expect(result[0].text).to.be.not.empty;
|
||||
});
|
||||
|
||||
it('returns the user inbox messages as an array of ordered messages (from most to least recent)', async () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue