fix: return full inbox on user-v3-api (#12146)

* fix inbox on user-v3-api + test

* add @benkelaar suggestions
This commit is contained in:
negue
2020-05-02 21:48:16 +02:00
committed by GitHub
parent 26767f598b
commit 1c94c1a968
4 changed files with 28 additions and 3 deletions
@@ -63,7 +63,7 @@ describe('GET /inbox/conversations', () => {
expect(messages[4].text).to.equal('first');
});
it('returns four messages when using page-query ', async () => {
it('returns five messages when using page-query ', async () => {
const promises = [];
for (let i = 0; i < 10; i += 1) {