Updated unit test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
057d138991
commit
48730be203
|
@ -10,7 +10,8 @@ describe('Entry buy', () => {
|
|||
$httpBackend = _$httpBackend_;
|
||||
let $element = $compile('<vn-entry-buy-index></vn-entry-buy-index')($rootScope);
|
||||
controller = $componentController('vnEntryBuyIndex', {$element});
|
||||
$httpBackend.whenGET('Entries//getBuys?filter=%7B%7D').respond([{id: 1}]);
|
||||
const params = _$httpParamSerializer_({filter: {limit: 20}});
|
||||
$httpBackend.whenGET(`Entries//getBuys?${params}`).respond([{id: 1}]);
|
||||
}));
|
||||
|
||||
describe('saveBuy()', () => {
|
||||
|
|
Loading…
Reference in New Issue