Problem/Motivation

When running the state_machine tests locally, I got

PHP Fatal error:  Uncaught Error: Class 'Drupal\Tests\state_machine\Unit\Plugin\Workflow\WorkflowTest' not found in /Users/francesco/Projects/web/drupal8/core/scripts/run-tests.sh:745

The test namespace is missing "\Plugin\Workflow". Upon adding that, the tests are all green.
I also took a look at a test run and I see only 4 tests marked as to be run: see https://dispatcher.drupalci.org/job/default/270564/console .

Proposed resolution

Fixing the namespace like said above.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

sardara created an issue. See original summary.

sardara’s picture

Assigned: sardara » Unassigned
Status: Active » Needs review
FileSize
478 bytes

  • bojanz committed fac1c1d on 8.x-1.x authored by sardara
    Issue #2832443 by sardara: WorkflowTest class not found when running...
bojanz’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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