From 7e0dc47865c483c747364e75213a3593f65d4cf2 Mon Sep 17 00:00:00 2001 From: howieandersen Date: Wed, 18 Dec 2024 11:56:56 +0100 Subject: [PATCH] Fixed testdata AT --- .../AccessListDelegation_Dagl_OrgPartialAccessRead.bru | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/Altinn.AccessManagement/test/Bruno/Altinn.AccessManagement/Automatic Test Collection/RightsInternal/accesslist-resource/AccessListDelegation_Dagl_OrgPartialAccessRead.bru b/src/apps/Altinn.AccessManagement/test/Bruno/Altinn.AccessManagement/Automatic Test Collection/RightsInternal/accesslist-resource/AccessListDelegation_Dagl_OrgPartialAccessRead.bru index 0412b73..ad803ce 100644 --- a/src/apps/Altinn.AccessManagement/test/Bruno/Altinn.AccessManagement/Automatic Test Collection/RightsInternal/accesslist-resource/AccessListDelegation_Dagl_OrgPartialAccessRead.bru +++ b/src/apps/Altinn.AccessManagement/test/Bruno/Altinn.AccessManagement/Automatic Test Collection/RightsInternal/accesslist-resource/AccessListDelegation_Dagl_OrgPartialAccessRead.bru @@ -48,16 +48,16 @@ body:json { script:pre-request { const testdata = require(`./Testdata/accesslist-delegation/${bru.getEnvVar("tokenEnv")}.json`); const sharedtestdata = require(`./Testdata/sharedtestdata.json`); - bru.setVar("party", testdata.SvenskGeniærklertTiger.partyid); + bru.setVar("party", testdata.OrdentligUlasteligStruts.partyid); bru.setVar("resource", testdata.resource); bru.setVar("toSsn", testdata.SvenskGeniærklertTiger.dagl.pid); bru.setVar("toLastName", "KRYDDERMÅL"); var getTokenParameters = { auth_tokenType: sharedtestdata.authTokenType.personal, - auth_userId: testdata.SvenskGeniærklertTiger.dagl.userid, - auth_partyId: testdata.SvenskGeniærklertTiger.dagl.partyid, - auth_ssn: testdata.SvenskGeniærklertTiger.dagl.pid + auth_userId: testdata.OrdentligUlasteligStruts.dagl.userid, + auth_partyId: testdata.OrdentligUlasteligStruts.dagl.partyid, + auth_ssn: testdata.OrdentligUlasteligStruts.dagl.pid } const token = await testTokenGenerator.getToken(getTokenParameters);