Split from #2835767-61: Media + REST: comprehensive test coverage for Media + MediaType entity types.
@Wim Leers:
Media specifies a add-page link relation in its annotation, but that link relation type doesn't exist — added that link relation type.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2905720-4.patch | 1.71 KB | Anonymous (not verified) |
| #4 | 2905720-4-test-only.patch | 1.1 KB | Anonymous (not verified) |
| #2 | 2905720-2-interdiff.txt | 626 bytes | Anonymous (not verified) |
| #2 | 2905720-2.patch | 1.71 KB | Anonymous (not verified) |
| #2 | 2905720-2-test-only.patch | 1.14 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedvaplas created an issue. See original summary.
Comment #2
Anonymous (not verified) commentedI copied the idea of checking from Drupal\rest\Plugin\rest\resource\EntityResource and Drupal\KernelTests\Core\Http\LinkRelationsTest. Also, please add a credit to @Wim Leers, who found this bug and provided a fix and a test in #2835767-46: Media + REST: comprehensive test coverage for Media + MediaType entity types.
Added tag 'blocker', because #2835767: Media + REST: comprehensive test coverage for Media + MediaType entity types.
Comment #4
Anonymous (not verified) commentedSorry, incorrect test-only patch (without "new file mode 100644"). Reupload both patches (to save NR status).
Comment #6
seanbLooks good! Thanks.
Comment #10
larowlanCommitted as 8cec5c8 and pushed to 8.5.x.
Cherry-picked as 9237a9e and pushed to 8.4.x.