Description:
The test case test_should_not_create_a_new_issuer_from_pem_with_uncompleted_cert is failing due to unexpected behavior when an incomplete PEM certificate is provided. The purpose of the test is to ensure that the system rejects attempts to create issuers from PEM certificates with incomplete or invalid data by expecting a status code of 422. However, the test encounters a server-side error (status code 500) instead of the expected validation error.
Description:
The test case
test_should_not_create_a_new_issuer_from_pem_with_uncompleted_cert
is failing due to unexpected behavior when an incomplete PEM certificate is provided. The purpose of the test is to ensure that the system rejects attempts to create issuers from PEM certificates with incomplete or invalid data by expecting a status code of 422. However, the test encounters a server-side error (status code 500) instead of the expected validation error.Test Data: