Unverified Commit edd88adf authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3164161 by dww, jungle, longwave: Move the @runInSeparateProcess...

Issue #3164161 by dww, jungle, longwave: Move the @runInSeparateProcess annotation to the SettingsTest class so it covers all test methods
parent a2856d11
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@

/**
 * @coversDefaultClass \Drupal\Core\Site\Settings
 * @runTestsInSeparateProcesses
 * @group Site
 */
class SettingsTest extends UnitTestCase {
@@ -167,8 +168,6 @@ public function testGetInstanceReflection() {
   * @param bool $expect_deprecation_message
   *   Should the case expect a deprecation message? Defaults to TRUE.
   *
   * @runInSeparateProcess
   *
   * @dataProvider providerTestFakeDeprecatedSettings
   *
   * @covers ::handleDeprecations
@@ -275,8 +274,6 @@ public function providerTestFakeDeprecatedSettings(): array {
  /**
   * Tests legacy twig_sandbox_* settings.
   *
   * @runInSeparateProcess
   *
   * @group legacy
   *
   * @expectedDeprecation The "twig_sandbox_whitelisted_classes" setting is deprecated in drupal:9.1.0 and is removed from drupal:10.0.0. Use "twig_sandbox_allowed_classes" instead. See https://www.drupal.org/node/3162897.