|
@@ -36,7 +36,7 @@ before(async () => {
|
|
|
JSON.stringify({
|
|
JSON.stringify({
|
|
|
payload: [
|
|
payload: [
|
|
|
{ id: 1, message_type: 'outgoing', content: 'Dzień dobry' },
|
|
{ id: 1, message_type: 'outgoing', content: 'Dzień dobry' },
|
|
|
- { id: 2, message_type: 'incoming', private: false, created_at: 1, content: 'Guten Morgen, ich brauche Hilfe.' },
|
|
|
|
|
|
|
+ { id: 2, message_type: 0, private: false, created_at: 1, content: 'Guten Morgen, ich brauche Hilfe.' },
|
|
|
],
|
|
],
|
|
|
}),
|
|
}),
|
|
|
{ status: 200, headers: { 'Content-Type': 'application/json' } },
|
|
{ status: 200, headers: { 'Content-Type': 'application/json' } },
|