Skip to content
Snippets Groups Projects
Commit 62bce638 authored by Susanne Moog's avatar Susanne Moog Committed by Andreas Fernandez
Browse files

[TASK] Fix closure comparison in test

ExactValueMatching of Closures in Prophecy may
result in Comparison Failures causing the test
to fail in newer PHPUnit Versions. Instead of
an exact match of that closure, a type comparison
is enough - as calling the closure is tested via
following assertions.

Resolves: #89982
Releases: master, 9.5
Change-Id: I23ef94a291a07d02e0c8857a1aeaf14931406af0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62737


Tested-by: default avatarJan Stockfisch <typo3@jan-stockfisch.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarJan Stockfisch <typo3@jan-stockfisch.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
parent 8123da83
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment