Closed ravecat closed 5 months ago
JaSerializer does not have any built-in assertions for tests, but it's pretty easy to write your own. You can trust that the library is doing the formatting correctly, and can write helpers to extract values from the "attributes" key or test that various relationships are included.
How can you test API responses that conform to the JSON API specification? Do you have any assertions for tests?