The third line in modules/rest_example/tests/src/Functional/RestExampleActionTest.php is the following one.

namespace Drupal\Tests\rest_example\Funtional;

That namespace is wrong; it should be Drupal\Tests\rest_example\Functional.

The same happens in the other files in the modules/rest_example/tests/src/Functional directory.

Issue fork examples-3345985

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

jungle created an issue. See original summary.

avpaderno’s picture

Title: The tests in rest_example failed to run due to a typo in namespace » modules/rest_example/tests/src/Functional/RestExampleActionTest.php uses a wrong namespace
Issue summary: View changes
avpaderno’s picture

Status: Active » Needs review
avpaderno’s picture

I have updated the fork, which was three commits behind the upstream repository.

avpaderno’s picture

Category: Task » Bug report
avpaderno’s picture

Component: Other » REST Example
avpaderno’s picture

Respect the usual 13 failing tests, there are six more tests that fail for this MR.

avpaderno’s picture

Title: modules/rest_example/tests/src/Functional/RestExampleActionTest.php uses a wrong namespace » Files in modules/rest_example/tests/src/Functional use a wrong namespace
Issue summary: View changes

  • apaderno committed dffdea51 on 4.0.x
    Issue #3345985: Files in modules/rest_example/tests/src/Functional use a...
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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