Problem/Motivation

Follow up from #916388-161: Convert menu links into entities

Some code in MenuTreeTest.php does not meet Drupal coding standards, in particular, arrays that should be written multi-line.

Proposed resolution

Fix the code according to the standards.

Remaining tasks

Prepare a patch.

User interface changes

None.

API changes

None.

Contributor tasks needed
Task Novice task? Contributor instructions Complete?
Create a patch Instructions
Manually test the patch Novice Instructions
Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards Instructions
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chrisjlee’s picture

Status: Active » Needs review
FileSize
7.34 KB

How's this?

dawehner’s picture

I should have mentioned it, but we should better wait until #916388: Convert menu links into entities gets in, as both patches conflict with each other.

amateescu’s picture

Status: Needs review » Postponed
amateescu’s picture

Issue summary: View changes

Updated issue summary.

cilefen’s picture

Title: Make TreeOutputTest::testMenuTreeData() easier to read » Fix coding standards in MenuTreeTest
Issue summary: View changes
Status: Postponed » Active
cilefen’s picture

cilefen’s picture

Status: Active » Needs review
FileSize
37.28 KB
smira’s picture

Status: Needs review » Reviewed & tested by the community

cilefen's #6 patch applied cleanly and fixes all the indentation and array coding standards issues.
please commit,
Thank you!

alexpott’s picture

Status: Reviewed & tested by the community » Postponed
dawehner’s picture

@alexpott
The code is moved into multiple areas, so is the unit test, or actually it gets rewritten from scratch if I remember correctly.

cilefen’s picture

Status: Postponed » Closed (won't fix)

This file is gone.