Skip to content

Conversation

@cYKatherine
Copy link
Contributor

@cYKatherine cYKatherine commented Apr 15, 2025

@cYKatherine cYKatherine self-assigned this Apr 15, 2025
@cYKatherine cYKatherine force-pushed the kcc-UID2-4776-remote-config-e2e branch from 5593a9a to 22ed711 Compare April 15, 2025 23:01
() -> {
JsonNode runtimeConfig = response.get("runtime_config");
assertNotNull(runtimeConfig, "runtime_config should not be null");
assertEquals(3600, runtimeConfig.get("identity_token_expires_after_seconds").asInt(), "identity_token_expires_after_seconds");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you set the four numbers here as static final vars at the top? Since we're setting these as defaults and not really changing them much, it might be clearer that way (and it's used in two different tests as well)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the specific checks for the value after discussing with @mcollins-ttd Will just check the structure of the response and make sure the value is not null

@cYKatherine cYKatherine merged commit d037c5d into main Apr 16, 2025
1 check passed
@cYKatherine cYKatherine deleted the kcc-UID2-4776-remote-config-e2e branch April 16, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants