Write tests that cover the standard user workflows. Should not cover IPE.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

LCM’s picture

Just to be sure, is this essentially the _same_ as https://www.drupal.org/node/2579447 but the the entity "user"?

I guess this does not include revisioning, though.

If so one could update the issue summary to read:

Specific things that should be tested:

That multiple displays (the "choice" option) for a given user work correctly, i.e. the field only shows when more than one item is present and that it saves correctly.
That displaying a user which does not have a {panelizer_entity} record does in fact load the default display.
That it's possible to create a custom display for a view mode.

DamienMcKenna’s picture

@LCM: Yes, basically just some simple tests to cover the basic workflows for user entities.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
23.16 KB

Some initial tests. Needs some fleshing out.

DamienMcKenna’s picture

FileSize
23.25 KB

Another test method.

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed dbe4f4e on 7.x-3.x
    Issue #2579451 by DamienMcKenna: Added tests for user workflows.
    

Status: Fixed » Closed (fixed)

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