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
Tests against 9.0.x have shown that \Drupal\FunctionalTests\Installer\InstallerExistingConfigTest
has a dependency on localize.drupal.org. Our tests shouldn't do that.
Proposed resolution
Create a local translation file.
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Release notes snippet
N/a
Comment | File | Size | Author |
---|---|---|---|
#2 | 8.9.x-3088012-2.patch | 1.37 KB | alexpott |
Comments
Comment #2
alexpottThis will allow the test to pass on 9.0.x and also pass when l.d.o is down or you are running the test whilst offline.
Comment #3
mikelutzComment #4
alexpottThis change from setUpSite to setUpSettings is slightly fun - it appears that when translations are available we're able to use them slightly earlier - which is fine as the main point of the test is upheld...
ie.
Comment #5
Wim LeersI'm sure @Gábor Hojtsy will have thoughts about this :)
To me, this looks great!
Comment #6
BerdirAgreed, this looks fine. Leaving assigned to Gabor, then he can just commit it if he wants to :)
Comment #7
Gábor HojtsyTotally agree with this, we should not be testing your internet connection :) I may be able to commit later. Busy with something else now, so will let others take it if they reach it sooner :)
Comment #8
mikelutzNow that #3072702: Core extensions should not need to specify the new core_version_requirement in *.info.yml files so that 9.0.x can be installed is in, this should reduce test failures on 9.0.x from the current 8.
Comment #12
Gábor HojtsySuperb, thanks all!