Added client consumption campaign filter #400
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#400
Loading…
Reference in New Issue
No description provided.
Delete Branch "2481-campaign_filter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: Added filterto Added client consumption campaign filter@ -0,0 +1,18 @@
const app = require('vn-loopback/server/server');
describe('campaign latest()', () => {
add a test for the filter getting results for previous years
@ -0,0 +1,16 @@
const app = require('vn-loopback/server/server');
describe('campaign upcoming()', () => {
some tests should be added for dinamic dates
@ -0,0 +1,30 @@
module.exports = Self => {
Self.remoteMethod('upcoming', {
description: 'Returns the lastest campaigns',
if a single result is expected should then be singular campain
@ -196,0 +209,4 @@
this.input.value = display;
/* if (this.translateFields.indexOf(this.showField) > -1)
delete this
@ -0,0 +17,4 @@
}));
describe('getUpcomingCampaing()', () => {
it(`should make an HTTP GET query`, () => {
information is missing
GGs