fix: tfront
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2022-09-13 10:27:17 +02:00
parent 8c6c7345cd
commit b02aa8466c
1 changed files with 2 additions and 3 deletions

View File

@ -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();