Skip to content

Commit 110ddea

Browse files
committed
fix usecase test
1 parent 0c40ea9 commit 110ddea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Altinn.Broker.UseCaseTests/case_initialize.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ export default async function () {
4343

4444
// Cleanup test data
4545
await cleanupUseCaseTestData();
46-
47-
46+
4847
check(null, { 'Intentional failure (force_fail)': () => false });
4948
}
5049

5150

51+
5252
async function TC1_InitializeFileTransfer() {
5353
const token = await getSenderAltinnToken();
5454
check(token, { 'Sender Altinn token obtained': t => typeof t === 'string' && t.length > 0 });
5555

56-
const recipient = isProduction ? __ENV.sender_org_no : __ENV.recipient_org_no;
56+
const recipient = isProduction ? "orgnummerforprod" : "311167898"
5757
const payload = buildInitializeFileTransferPayload(resourceId, recipient);
5858

5959
const headers = {

0 commit comments

Comments
 (0)