Closed (fixed)
Project:
REST Views
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
1 Feb 2023 at 00:38 UTC
Updated:
15 Feb 2023 at 01:19 UTC
Jump to comment: Most recent
The regression in #3337859: Serializable fields are not working in D10. that rendered the module non-functional in D10 has shown the need for full functional tests, as this module is tightly integrated with both the render and view system in unusual ways and is sensitive to changes in core.
The test needs at least to:
- Create a view with a REST display mode
- Create several fields that use the field_export plugin and custom field export formatters.
- Access the view and check that the JSON output matches.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
cburschkaIn order for tests to work, we also have to add a config schema for the views.field.field_export key. Fortunately this schema is basically identical to the views.field.field key from core, so we can alias that.
Comment #5
cburschka