psu-libraries / researcher-metadata

Penn State University's faculty and research metadata repository
https://metadata.libraries.psu.edu/
MIT License
7 stars 0 forks source link

Fix broken ORCID test #990

Closed ajkiessl closed 4 months ago

ajkiessl commented 4 months ago

Instead of testing that the response message is 'Created' just check for the 'Created' response code (201). The api must've changed to stop sending the message.

This was just an issue with the test. The actual ORCID client uses the response code in its logic.