From 6a8c333a21d8537877a6de32ce49d89bf4c37f9e Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Fri, 8 Oct 2021 13:43:29 +0100 Subject: [PATCH] Issue #3241267 by alexpott, daffie: Drupal\Tests\Core\Session\WriteSafeSessionHandlerTest::testOtherMethods() fails due to a type error on PHP 8.1 --- .../Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php index e458375152eb..38e8b841c96a 100644 --- a/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php +++ b/core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php @@ -161,7 +161,7 @@ public function providerTestOtherMethods() { ['read', 'some-session-data', ['a-session-id']], ['close', TRUE, []], ['destroy', TRUE, ['old-session-id']], - ['gc', TRUE, [42]], + ['gc', 0, [42]], ]; } -- GitLab