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
The functional tests are currently in the tests/Functional
directory, while they should be in tests/src/Functional
. Similarly, the namespace should be Drupal\Tests\flag\Functional
rather than the current Drupal\Tests\yourmodule\Functional
. The only reason these are currently run is that the run-tests.sh
script will find them no matter where they are. The phpunit runner would not find this test.
Proposed resolution
Move the file and fix the namespace.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | 2829770-02.patch | 529 bytes | jhedstrom |
Comments
Comment #2
jhedstromComment #4
joachim CreditAttribution: joachim commentedThanks!