4496-entry.buy_import #1047
|
@ -111,9 +111,8 @@ describe('Entry', () => {
|
|||
'volume': 1125}
|
||||
];
|
||||
|
||||
const serializedParams = $httpParamSerializer({buys});
|
||||
const query = `Entries/1/importBuysPreview?${serializedParams}`;
|
||||
$httpBackend.expectGET(query).respond(200, buys);
|
||||
const query = `Entries/1/importBuysPreview`;
|
||||
$httpBackend.expectPOST(query).respond(200, buys);
|
||||
controller.fetchBuys(buys);
|
||||
$httpBackend.flush();
|
||||
|
||||
|
|
Loading…
Reference in New Issue