From ca5439d2c50f6099beefaed96fad40ab6384b169 Mon Sep 17 00:00:00 2001 From: negue Date: Tue, 27 Aug 2019 18:41:59 +0200 Subject: [PATCH] test on conversations having a message --- test/api/v4/inbox/GET-inbox-conversations.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/api/v4/inbox/GET-inbox-conversations.test.js b/test/api/v4/inbox/GET-inbox-conversations.test.js index 749755721b..ce94e919d5 100644 --- a/test/api/v4/inbox/GET-inbox-conversations.test.js +++ b/test/api/v4/inbox/GET-inbox-conversations.test.js @@ -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 () => {