feat: refs # 6408 test ok
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javi Gallego 2024-05-30 09:35:42 +02:00
parent 1bcd7a9665
commit 5e55f2d92d
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ describe('ticket setDelivered()', () => {
accessToken: {userId: userId},
__: value => value
};
const ctx = {req: activeCtx};
beforeAll(async() => {
spyOn(LoopBackContext, 'getCurrentContext').and.returnValue({

View File

@ -92,7 +92,7 @@ module.exports = Self => {
AND st.isChecked
AND s.originalQuantity IS NOT NULL
AND s.originalQuantity <> s.quantity
AND s2.\`order\` < (SELECT \`order\` FROM vn.state WHERE code = 'PACKING')
AND s2.\`order\` < (SELECT \`order\` FROM vn.state WHERE code = 'CHECKED')
ORDER BY st.created DESC
`, [params.ticketFk], myOptions);