fix(prestashop): support customer note sorting in 1.1.9
This commit is contained in:
@@ -162,6 +162,11 @@ test('collects public customer notes from order, cart and customer thread withou
|
||||
'Kod bramy: 1234',
|
||||
]);
|
||||
assert.equal(calls.filter(call => call.pathname.endsWith('/customer_messages')).length, 1);
|
||||
assert.equal(calls.filter(call => call.pathname.endsWith('/messages')).length, 2);
|
||||
for (const call of calls.filter(call => call.pathname.endsWith('/messages')
|
||||
|| call.pathname.endsWith('/customer_messages'))) {
|
||||
assert.equal(call.searchParams.get('sort'), 'id_ASC');
|
||||
}
|
||||
});
|
||||
|
||||
test('keeps notes from available sources when one customer-note endpoint is forbidden', async t => {
|
||||
|
||||
Reference in New Issue
Block a user