The modules/action_example/tests/src/Functional/ActionExampleTest.php file contains the following line.

namespace Drupal\Tests\theming_example\Functional;

Since the module machine name is action_example, the correct namespace is Drupal\Tests\action_example\Functional. That line must be changed to the following one.

namespace Drupal\Tests\action_example\Functional;

Issue fork examples-3391210

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

tyler36 created an issue. See original summary.

tyler36’s picture

Status: Active » Needs review
tyler36’s picture

Tests seem to be failing due to unrelated issues.

jlbellido’s picture

I've reviewed the tests and seems to be unrelated as #4 is pointing out. I'm re-running the tests.

apaderno made their first commit to this issue’s fork.

avpaderno’s picture

I have updated the issue fork, which was one commit behind the upstream repository.

avpaderno’s picture

Title: Fix action test namespace » modules/action_example/tests/src/Functional/ActionExampleTest.php uses a wrong namespace
Issue summary: View changes

avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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