Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | workflowtest_class_not-2832443-2.patch | 478 bytes | sardara |
Comments
Comment #2
sardara CreditAttribution: sardara at Randstad Digital for European Commission and European Union Institutions, Agencies and Bodies commentedComment #4
bojanz CreditAttribution: bojanz at Centarro commentedCommitted, thanks!