refs #5051 fdescribe
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alexandre Riera 2023-01-03 11:53:47 +01:00
parent b5ef090080
commit c6083ebe61
2 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ module.exports = Self => {
stmt.merge('SELECT * FROM campaign');
stmt.merge(conn.makeWhere(filter.where));
stmt.merge('ORDER BY dated ASC');
stmt.merge('LIMIT 10000000000000000000');
stmt.merge(') sub');
stmt.merge('GROUP BY code');
stmt.merge('LIMIT 10000000000000000000');
stmt.merge(conn.makePagination(filter));
return conn.executeStmt(stmt);

View File

@ -1,6 +1,6 @@
const app = require('vn-loopback/server/server');
describe('campaign latest()', () => {
fdescribe('campaign latest()', () => {
it('should return the campaigns from the last year', async() => {
const now = new Date();
const result = await app.models.Campaign.latest();