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
In CreateSampleEntityTest.php
test in setUp()
method, the following line is added twice:
$this->installEntitySchema('file');
Steps to reproduce
Open the CreateSampleEntityTest.php
and take a look into setUp()
method content.
Proposed resolution
Remove extra $this->installEntitySchema('file');
Comment | File | Size | Author |
---|---|---|---|
#2 | 3195628-2.patch | 701 bytes | Matroskeen |
Screen Shot on 2021-01-30 at 22:53:05.png | 242 KB | Matroskeen |
Comments
Comment #2
MatroskeenComment #3
MatroskeenComment #4
rachel_norfolkJust doing a little tag tidying. Nice work everyone!!
Comment #5
Kristen PolThanks for the issue and patch!
1) Confirmed that the issue exists in the test.
2) Patch still applies to 9.2.
3) Tests pass.
4) Code looks good and addresses the change in the summary.
5) No manual testing is needed as this is in a test and tests pass.
Marking RTBC!
Comment #7
catchCommitted 3d8a696 and pushed to 9.2.x. Thanks!