Closed (fixed)
Project:
Drupal core
Version:
8.4.x-dev
Component:
rest.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Jan 2017 at 06:13 UTC
Updated:
29 Sep 2017 at 19:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
wim leersComment #5
wim leersAnd patch.
Comment #6
Anonymous (not verified) commentedLooks perfect! Hal tests?
Comment #7
wim leersD'oh :)
Comment #8
wim leersComment #9
Anonymous (not verified) commented🔥
Comment #10
wim leersHah :D
Comment #11
effulgentsia commentedPatch looks great. Except I'm wondering:
Why do the other HAL tests not also specify these?
Comment #12
wim leersBecause c/p error. Which means these two were testing
json, nothal_json, which they inherited from\Drupal\Tests\rest\Functional\ResourceTestBase::$format, and that's why they were able to pass tests. Thankfully you noticed this!👏 @effulgentsia 👏
Comment #13
effulgentsia commentedThanks! Adding review credit to @vaplas.
Comment #16
effulgentsia commentedPushed to 8.5.x, and cherry picked to 8.4.x because this only adds tests, which is rc eligible.