Skip to content

Commit

Permalink
Re-use existing
Browse files Browse the repository at this point in the history
  • Loading branch information
timvanoostrom committed Dec 19, 2024
1 parent e7bf06e commit 2f920e0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/server/services/afis/afis-facturen.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const ROUTES = {
},
deelbetalingen: (uri: string) =>
decodeURI(uri).includes(
`IsCleared eq false and InvoiceReference ne '' and (AccountingDocumentType eq 'AB')`
`IsCleared eq false and InvoiceReference ne '' and`
),
};

Expand Down Expand Up @@ -699,13 +699,7 @@ describe('afis-facturen', async () => {
},
};

remoteApi
.get((uri) =>
decodeURI(uri).includes(
`IsCleared eq false and InvoiceReference ne '' and (AccountingDocumentType eq 'AB')`
)
)
.reply(200, deelbetalingenResponse);
remoteApi.get(ROUTES.deelbetalingen).reply(200, deelbetalingenResponse);

const params: AfisFacturenParams = {
state: 'deelbetalingen',
Expand Down

0 comments on commit 2f920e0

Please sign in to comment.