The test case TestIssuerCreationFromPEM.test_should_not_create_a_new_issuer_from_pem_with_incorrect_base_64_encoding_key is failing due to unexpected behavior in the system. This test aims to verify that the system correctly rejects attempts to create issuers from PEM certificates when the private key file contains incorrect Base64 encoding. However, the system is allowing such operations, resulting in a status code of 500 instead of the expected 422.
Expected Outcome:
The system should reject attempts to create issuers from PEM certificates when the private key file contains incorrect Base64 encoding and return a status code of 422.
The test case
TestIssuerCreationFromPEM.test_should_not_create_a_new_issuer_from_pem_with_incorrect_base_64_encoding_key
is failing due to unexpected behavior in the system. This test aims to verify that the system correctly rejects attempts to create issuers from PEM certificates when the private key file contains incorrect Base64 encoding. However, the system is allowing such operations, resulting in a status code of 500 instead of the expected 422.Expected Outcome:
The system should reject attempts to create issuers from PEM certificates when the private key file contains incorrect Base64 encoding and return a status code of 422.
Test Data:
Test Failure Message: