Compose tests ignore the id and timestamps and verify that the rest of the response is as expected. The testRoute function now accepts fields to ignore and uses dropFields to remove them from the test and response objects. |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_test.go | ||
| util.go | ||