Loading core/modules/jsonapi/tests/src/Functional/NodeTest.php +3 −0 Changes for core/modules/jsonapi/tests/src/Functional/NodeTest.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -317,6 +317,9 @@ public function testPatchPath() { * {@inheritdoc} */ public function testGetIndividual() { // Cacheable normalizations are written after the response is flushed to // the client. We use WaitTerminateTestTrait to wait for Drupal to perform // its termination work before continuing. $this->setWaitForTerminate(); parent::testGetIndividual(); Loading core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php +3 −0 Changes for core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -48,6 +48,9 @@ class ConfigurableLanguageManagerTest extends BrowserTestBase { protected function setUp(): void { parent::setUp(); // The \Drupal\locale\LocaleTranslation service clears caches after the // response is flushed to the client. We use WaitTerminateTestTrait to wait // for Drupal to perform its termination work before continuing. $this->setWaitForTerminate(); /** @var \Drupal\user\UserInterface $user */ Loading core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php +3 −0 Changes for core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -34,6 +34,9 @@ class LocaleLocaleLookupTest extends BrowserTestBase { protected function setUp(): void { parent::setUp(); // The \Drupal\locale\LocaleTranslation service stores localization cache // data after the response is flushed to the client. We do not want to race // with any string translations that may be saving from the login below. $this->setWaitForTerminate(); // Change the language default object to different values. Loading core/modules/path/tests/src/Functional/PathAliasTest.php +3 −0 Changes for core/modules/path/tests/src/Functional/PathAliasTest.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -44,6 +44,9 @@ protected function setUp(): void { ]); $this->drupalLogin($web_user); // The \Drupal\path_alias\AliasWhitelist service performs cache clears after // Drupal has flushed the response to the client. We use // WaitTerminateTestTrait to wait for Drupal to do this before continuing. $this->setWaitForTerminate(); } Loading core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php +4 −0 Changes for core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -69,6 +69,10 @@ protected function setUp(): void { \Drupal::entityTypeManager()->clearCachedDefinitions(); $this->setupWorkspaceSwitcherBlock(); // The \Drupal\path_alias\AliasWhitelist service performs cache clears after // Drupal has flushed the response to the client. We use // WaitTerminateTestTrait to wait for Drupal to do this before continuing. $this->setWaitForTerminate(); } Loading Loading
core/modules/jsonapi/tests/src/Functional/NodeTest.php +3 −0 Changes for core/modules/jsonapi/tests/src/Functional/NodeTest.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -317,6 +317,9 @@ public function testPatchPath() { * {@inheritdoc} */ public function testGetIndividual() { // Cacheable normalizations are written after the response is flushed to // the client. We use WaitTerminateTestTrait to wait for Drupal to perform // its termination work before continuing. $this->setWaitForTerminate(); parent::testGetIndividual(); Loading
core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php +3 −0 Changes for core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -48,6 +48,9 @@ class ConfigurableLanguageManagerTest extends BrowserTestBase { protected function setUp(): void { parent::setUp(); // The \Drupal\locale\LocaleTranslation service clears caches after the // response is flushed to the client. We use WaitTerminateTestTrait to wait // for Drupal to perform its termination work before continuing. $this->setWaitForTerminate(); /** @var \Drupal\user\UserInterface $user */ Loading
core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php +3 −0 Changes for core/modules/locale/tests/src/Functional/LocaleLocaleLookupTest.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -34,6 +34,9 @@ class LocaleLocaleLookupTest extends BrowserTestBase { protected function setUp(): void { parent::setUp(); // The \Drupal\locale\LocaleTranslation service stores localization cache // data after the response is flushed to the client. We do not want to race // with any string translations that may be saving from the login below. $this->setWaitForTerminate(); // Change the language default object to different values. Loading
core/modules/path/tests/src/Functional/PathAliasTest.php +3 −0 Changes for core/modules/path/tests/src/Functional/PathAliasTest.php: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -44,6 +44,9 @@ protected function setUp(): void { ]); $this->drupalLogin($web_user); // The \Drupal\path_alias\AliasWhitelist service performs cache clears after // Drupal has flushed the response to the client. We use // WaitTerminateTestTrait to wait for Drupal to do this before continuing. $this->setWaitForTerminate(); } Loading
core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php +4 −0 Changes for core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -69,6 +69,10 @@ protected function setUp(): void { \Drupal::entityTypeManager()->clearCachedDefinitions(); $this->setupWorkspaceSwitcherBlock(); // The \Drupal\path_alias\AliasWhitelist service performs cache clears after // Drupal has flushed the response to the client. We use // WaitTerminateTestTrait to wait for Drupal to do this before continuing. $this->setWaitForTerminate(); } Loading