2863 - Added monitor module #618

Merged
joan merged 12 commits from 2863-monitor_module into dev 2021-05-12 12:09:35 +00:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit 9363726d67 - Show all commits

View File

@ -66,6 +66,13 @@ describe('Entry', () => {
describe('onEditAccept()', () => {
it(`should perform a query to update columns`, () => {
$httpBackend.whenGET('UserConfigViews/getConfig?tableCode=latestBuys').respond([]);
$httpBackend.whenGET('Buys/latestBuysFilter?filter=%7B%22limit%22:20%7D').respond([
{entryFk: 1},
{entryFk: 2},
{entryFk: 3},
{entryFk: 4}
]);
controller.editedColumn = {field: 'my field', newValue: 'the new value'};
let query = 'Buys/editLatestBuys';