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.

Issue fork rest_views-3338083

Command icon Show commands

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

cburschka created an issue. See original summary.

cburschka’s picture

Status: Active » Needs review

In 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.

  • cburschka committed 3e77a0d1 on 3.0.x
    Issue #3338083: Create functional test for basic functionality.
    
cburschka’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.