Updated method path
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
c6e554c608
commit
f806a598ea
|
@ -81,7 +81,7 @@ export default class Controller extends Section {
|
|||
clientIds: clientIds
|
||||
}, this.campaign);
|
||||
|
||||
this.$http.post('notify/consumption', params)
|
||||
this.$http.post('schedule/consumption', params)
|
||||
.then(() => this.$.filters.hide())
|
||||
.then(() => this.vnApp.showSuccess(this.$t('Notifications sent!')));
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ describe('Client notification', () => {
|
|||
clientIds: [1101, 1102]
|
||||
}, controller.campaign);
|
||||
|
||||
$httpBackend.expect('POST', `notify/consumption`, params).respond(200, params);
|
||||
$httpBackend.expect('POST', `schedule/consumption`, params).respond(200, params);
|
||||
controller.onSendClientConsumption();
|
||||
$httpBackend.flush();
|
||||
|
||||
|
|
Loading…
Reference in New Issue