You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, enough sourcecode. What happens now?
I run my test suite and the test above fails because of the arrays are different. That's why the first key of the result array is still 'childEntity' and not 'phpunit:test-entity' as expected.
So I think the property replacement has not take place but I don't know why.
I've a problem to use the zf-hal hydrator in combination with an abstract factory. This is my module configuration:
My abstract factory looks like this:
To test my module I created some unit tests. One of them is:
These are my test entities:
And then it could be good to know what my test module configuration looks like:
Ok, enough sourcecode. What happens now?
I run my test suite and the test above fails because of the arrays are different. That's why the first key of the result array is still 'childEntity' and not 'phpunit:test-entity' as expected.
So I think the property replacement has not take place but I don't know why.
Originally posted by @kschroeer at zfcampus/zf-hal#171
The text was updated successfully, but these errors were encountered: