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
PHPUnit tests fail when testing install configuration due to the path not existing.
Steps to reproduce
Write phpunit test to assert configuration was installed
Proposed resolution
Change xmlsitemap.install to use fromUri(base) instead as this does not need the front page route.
Comment | File | Size | Author |
---|---|---|---|
#6 | 3232394-use-base-uri-in-base-setting.patch | 687 bytes | Dave Reid |
| |||
#2 | 3232394-2.patch | 691 bytes | adam-delaney |
Comments
Comment #2
adam-delaney CreditAttribution: adam-delaney commentedUploading patch
Comment #3
adam-delaney CreditAttribution: adam-delaney commentedComment #4
adam-delaney CreditAttribution: adam-delaney at Principal Financial Group commentedComment #6
Dave ReidFixing the extra argument in Url::fromUri() that might fix the tests.
Comment #9
Dave ReidCommitted #6 to 8.x-1.x! Thanks!