X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FCore%2FCommon%2FDrupalSetMessageTest.php;fp=web%2Fcore%2Ftests%2FDrupal%2FKernelTests%2FCore%2FCommon%2FDrupalSetMessageTest.php;h=7a15fc3e04ac60ada69697d24e74ab844105e954;hp=59470e656306a182ba23589a237f6910c7c604d7;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php b/web/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php index 59470e656..7a15fc3e0 100644 --- a/web/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php +++ b/web/core/tests/Drupal/KernelTests/Core/Common/DrupalSetMessageTest.php @@ -20,10 +20,4 @@ class DrupalSetMessageTest extends KernelTestBase { $this->assertEquals('A message: bar', (string) $messages['status'][0]); } - protected function tearDown() { - // Clear session to prevent global leakage. - unset($_SESSION['messages']); - parent::tearDown(); - } - }