[D7 PHP 8.3] Fix SessionHttpsTestCase->testEmptySessionId() failure

Created on 10 May 2024, about 2 months ago

Problem/Motivation

On PHP 8.3, there is a failure in SessionHttpsTestCase->testEmptySessionId(), see:

---- SessionHttpsTestCase ----
Status    Group      Filename          Line Function                            
--------------------------------------------------------------------------------
Fail      Other      session.test       786 SessionHttpsTestCase->testEmptySessionId()
    The user's own name is not displayed because the invalid session cookie has
    logged them out.

We need to fix the test failure to have full PHP 8.3 compatibility.

Steps to reproduce

See some PHP 8.3 test job on GitlabCI: https://git.drupalcode.org/project/drupal/-/jobs/1568219

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs review

Version

7.0 ⚰️

Component
Simpletest 

Last updated 12 days ago

Created by

🇸🇰Slovakia poker10

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024