Skip to content

Remove hardcoded values from key_length validation unit test#34

Closed
yuriadam-sap wants to merge 0 commit intocloudfoundry:developfrom
yuriadam-sap:adjust-rsa-validation
Closed

Remove hardcoded values from key_length validation unit test#34
yuriadam-sap wants to merge 0 commit intocloudfoundry:developfrom
yuriadam-sap:adjust-rsa-validation

Conversation

@yuriadam-sap
Copy link

@yuriadam-sap yuriadam-sap commented Jan 26, 2026

Removes hardcoded key length values from the validation test assertion.

Instead of checking for the exact string "Must be one of: [2048 3072 4096]", the test now only verifies that the error message contains "Must be one of:".

This ensures the test remains valid if additional standard RSA key sizes are added in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant