wp-net / WordPressPCL

This is a portable library for consuimg the WordPress REST-API in (almost) any C# application
MIT License
335 stars 131 forks source link

Fix for #273 #274

Closed navjot50 closed 2 years ago

navjot50 commented 2 years ago

Added environment variable for wordpress debug for wordpress docker instance in tests setup. Added an image in test suite which produces php warnings on upload and added a test to ensure that response for this image is properly deserialized. Added logic in HttpHelper to make sure that php warnings are ignored from the response when required.

Linked issue: https://github.com/wp-net/WordPressPCL/issues/273