Closed (won't fix)
Project:
Drupal core
Version:
8.8.x-dev
Component:
simpletest.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Apr 2014 at 23:14 UTC
Updated:
31 Mar 2019 at 18:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sunComment #2
sunComment #3
sunComment #5
sunWhoopsie.
Comment #7
sunMoved settingsSet() into UnitTestBase.
Comment #9
jhedstromI've updated the issue summary to account for #2347999: DrupalUnitTestBase is deprecated, replace with KernelTestBase, and rerolled the patch.
Comment #10
jhedstromComment #12
jhedstromComment #16
dawehnerComment #17
amitgoyal commentedReroll of #12.
Comment #18
amitgoyal commentedComment #20
mgiffordComment #21
mile23Applies cleanly to 8.1.x, but still has the same failing tests, due to the data structure for
$settings, required bydrupal_rewrite_settings().Comment #22
mile23Comment #30
mile23Drupal\simpletest\KernelTestBaseis now deprecated in favor ofDrupal\KernelTests\KernelTestBase, so no one should be usingTestBase::settingsSet().We also have
Drupal\KernelTests\KernelTestBase::setSettings(), which is marked protected.So while access to
settingsSet()is still not limited toDrupal\simpletest\KernelTestBase, it's deprecated and no one should be using it.