Problem/Motivation

Although the module currently has unit and kernel tests to verify its intended behavior, there are no tests to ensure it actually installs correctly. Drupal core introduced GenericModuleTestBase, to help modules test basic functionality easily.

Steps to reproduce

  1. Run phpunit
  2. Notice that no functional test is executed to verify basic functionality, such as installing and uninstalling this module.

Proposed resolution

Add GenericTest class, which is a functional test extending the GenericModuleTestBase class.

Remaining tasks

  • Add a functional test that extends GenericModuleTestBase
  • Implement hook_help

User interface changes

None

API changes

None

Data model changes

None

Issue fork atd-3556466

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

watergate created an issue. See original summary.

watergate’s picture

Issue summary: View changes

  • watergate committed 3f41f8d5 on 3.x
    [#3556466] feat: Add functional test that extends GenericModuleTestBase...
watergate’s picture

Assigned: watergate » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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