------ --------------------------------------------------------------------------------------------------------------------------------------------
Line modules/site_settings_type_permissions/src/Tests/SiteSettingTypePermissionsUiTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------
13 Class Drupal\site_settings_type_permissions\Tests\SiteSettingTypePermissionsUiTest extends deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------
Line src/Controller/SiteSettingEntityAddController.php
------ ----------------------------------------------------------------------------------------------
74 Call to deprecated method getLinkGenerator() of class Drupal\Core\Controller\ControllerBase:
in drupal:8.0.0 and is removed from drupal:9.0.0. Inject the
------ ----------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------
Line src/Tests/SiteSettingsLoaderTest.php
------ -----------------------------------------------------------------------------------------------------------------
12 Class Drupal\site_settings\Tests\SiteSettingsLoaderTest extends deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
25 Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
------ -----------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------
Line src/Tests/SiteSettingsUiTest.php
------ -------------------------------------------------------------------------------------------------------------
12 Class Drupal\site_settings\Tests\SiteSettingsUiTest extends deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
25 Call to method setUp() of deprecated class Drupal\simpletest\WebTestBase:
in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
use \Drupal\Tests\BrowserTestBase. See https://www.drupal.org/node/3030340.
------ -------------------------------------------------------------------------------------------------------------| Comment | File | Size | Author |
|---|---|---|---|
| #6 | issue-3100624-6-depr-test-only.patch | 58.51 KB | mr.york |
| #6 | issue-3100624-6.patch | 57.56 KB | mr.york |
| #4 | issue-3100624-4-depr-test-only.patch | 57.31 KB | mr.york |
| #4 | issue-3100624-4.patch | 56.36 KB | mr.york |
| #2 | issue-3100624-2.patch | 57.02 KB | mr.york |
Comments
Comment #2
mr.york commentedAttached patch.
Comment #3
nagy.balint commentedStill needs a few minor adjustments.
Comment #4
mr.york commentedAdd little fix and deprecated test.
Comment #5
nagy.balint commentedComment #6
mr.york commentedRemove secret deprecation and code style fix.
Comment #7
nagy.balint commentedLikely we have to remove that "match_limit" from the test config as described here https://www.drupal.org/project/ctools/issues/3100535
That way it remains compatible with 8.7 and wont fail on d9 (most likely)
Comment #8
nagy.balint commentedSo after further consideration, this "match_limit" would only break the tests on 8.7, the module itself would work fine, as it is only in the test module.
We have tested the module with this patch on 8.7 manually as well.
@scott_euser : Could we commit issue-3100624-6.patch ?
Comment #9
scott_euser commentedThanks for all your work on this!
Shall we just apply a Drupal Core >= 8.8 to the composer.json and module info.yml files? I am struggling to understand from https://www.drupal.org/core/release-cycle-overview whether that is something allowed or whether we need to wait for 8.9 release.
Otherwise, all looks great; thanks for converting everything to dependency injection and all the work updating the tests.
Comment #10
nagy.balint commentedHi,
Yes its allowed, however 8.7 is still supported til June, and as only the test would break, we dont necessarily need to remove compatibility.
On drupal.org the tests run on 8.9 dev anyways, and we could write in the release notes that we kept compatibility with 8.7 but the tests only work from 8.8+
Comment #11
scott_euser commentedOkay sounds good, I'll commit and add to release notes. Thanks for the advice! I'll take care of this after the holidays.
Comment #13
scott_euser commentedThanks!
Comment #14
nagy.balint commentedThanks!
Can you create a new release?
Comment #15
scott_euser commentedSure no problem - release created