Closed jaapio closed 6 years ago
You are right. It was me ‚fixed‘ this test and left it broken with #221. I am sorry.
The issue is fixed in #231.
@fhein btw, no need to be sorry - the original patch was legitimate, we simply missed it 👍
Manually merged via 54f5a52d113adaa33222bfcbf807e2b001d5d94c
Cool, thanks for merging
:+1: . I'am somewhat embarrased to have introduced this hack without knowing what I did. :)
There was an error in the testcase
testAbstractFactoryShouldBeCheckedForResolvedAliasesInsteadOfAliasName
where the returnValueMap of phpunit was used wrong. This caused a false positive. The test was returning an array which is interpreted asTRUE
.I discovered this when I added the
testResolvedAliasFromAbstractFactory
, which should do the opposite form the earlier mentioned testcase.Beside that I found a way that the servicemanager was returning
null
instead of returning false when the last fallback on abstract factories failed.I'm not sure if the
testAbstractFactoryShouldBeCheckedForResolvedAliasesInsteadOfAliasName
is still doing what was intended to do. So that might be a point of discussion.