Skip to content

Commit

Permalink
chore: make addressGenerationHostnameOverride configurable for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Oct 16, 2024
1 parent 5bcc4ef commit 21f7cb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/app-runtime/test/lib/TestUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class TestUtil {
baseUrl: globalThis.process.env.NMSHD_TEST_BASEURL!,
platformClientId: globalThis.process.env.NMSHD_TEST_CLIENTID!,
platformClientSecret: globalThis.process.env.NMSHD_TEST_CLIENTSECRET!,
addressGenerationHostnameOverride: globalThis.process.env.NMSHD_TEST_ADDRESS_GENERATION_HOSTNAME_OVERRIDE,
debug: true
};

Expand Down
1 change: 1 addition & 0 deletions packages/consumption/test/core/TestUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export class TestUtil {
baseUrl: globalThis.process.env.NMSHD_TEST_BASEURL!,
platformClientId: globalThis.process.env.NMSHD_TEST_CLIENTID!,
platformClientSecret: globalThis.process.env.NMSHD_TEST_CLIENTSECRET!,
addressGenerationHostnameOverride: globalThis.process.env.NMSHD_TEST_ADDRESS_GENERATION_HOSTNAME_OVERRIDE,
debug: true,
supportedIdentityVersion: 1
};
Expand Down
1 change: 1 addition & 0 deletions packages/runtime/test/lib/RuntimeServiceProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class RuntimeServiceProvider {
baseUrl: process.env.NMSHD_TEST_BASEURL!,
platformClientId: process.env.NMSHD_TEST_CLIENTID!,
platformClientSecret: process.env.NMSHD_TEST_CLIENTSECRET!,
addressGenerationHostnameOverride: globalThis.process.env.NMSHD_TEST_ADDRESS_GENERATION_HOSTNAME_OVERRIDE,
debug: true
},
modules: {
Expand Down
1 change: 1 addition & 0 deletions packages/transport/test/testHelpers/TestUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ export class TestUtil {
baseUrl: globalThis.process.env.NMSHD_TEST_BASEURL!,
platformClientId: globalThis.process.env.NMSHD_TEST_CLIENTID!,
platformClientSecret: globalThis.process.env.NMSHD_TEST_CLIENTSECRET!,
addressGenerationHostnameOverride: globalThis.process.env.NMSHD_TEST_ADDRESS_GENERATION_HOSTNAME_OVERRIDE,
debug: true,
supportedIdentityVersion: 1
};
Expand Down

0 comments on commit 21f7cb7

Please sign in to comment.