The language module uses test class members with underscored names. Some examples are big_user, web_user and admin_user, but there could be others. According to our coding conventions, these should be renamed to bigUser, webUser and adminUser. In addition, some properties are undefined but should be.

See the parent issue #1811638: [meta] Clean-up Test members - ensure property definition and use of camelCase naming convention.

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task, because this is a coding standards change.
Issue priority Not critical because coding standard changes are not critical.
Unfrozen changes Unfrozen because it only changes automated tests.
Disruption There is no disruption expected from this sort of change.
CommentFileSizeAuthor
#1 clean_up_language-2396691-1.patch1.35 KBhussainweb

Comments

hussainweb’s picture

Renaming web_user to webUser and adding property definition. There is an usage of root_user under LanguageConfigOverrideImportTest but that is from WebTestBase.

mile23’s picture

Status: Needs review » Reviewed & tested by the community

phpcs says that the patch in #1 fixes camel case errors in test classes.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 1: clean_up_language-2396691-1.patch, failed testing.

Status: Needs work » Needs review
hussainweb’s picture

Status: Needs review » Reviewed & tested by the community

Setting back to RTBC from #2 after random failure.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Looks like Alex has been committing others of these, so joining the club. :P

Committed and pushed to 8.0.x. Thanks!

  • webchick committed 75f9fed on 8.0.x
    Issue #2396691 by hussainweb: Clean-up language module test members -...

Status: Fixed » Closed (fixed)

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