Skip to content

Enforce etags as strings #7436

@PVince81

Description

@PVince81

To prevent this error happening in unit tests and also other potential issues, please force etags to be strings:

Test\Files\Cache\Updater::testTouch
Failed asserting that '530e215543792' is not equal to <string:530e215526934>.

/var/lib/jenkins/jobs/pull-request-analyser/workspace@2/tests/lib/files/cache/updater.php:245

As discussed last week, PHP tries to be clever and interprets that etag as a number with exponent "e".

@icewind1991 can you take care of this ?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions