Skip to content

Commit

Permalink
Fixed testdata AT
Browse files Browse the repository at this point in the history
  • Loading branch information
howieandersen committed Dec 18, 2024
1 parent edc27ea commit 7e0dc47
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7e0dc47

Please sign in to comment.