Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Unittests failing #21

Merged
merged 1 commit into from
Aug 11, 2015
Merged

Conversation

weierophinney
Copy link
Member

I just cloned this repo and unittests fails for both master and 2.5:

1) ZendTest\Mvc\Controller\Plugin\FilePostRedirectGetTest::testCorrectInputDataMerging
Failed asserting that false is true.

... zend-mvc/test/Controller/Plugin/FilePostRedirectGetTest.php:405

@weierophinney
Copy link
Member

This looks like a change in the zend-session library; @mwillbanks - can you look into this please, as I know you've been merging zend-session changes recently...

@mwillbanks
Copy link
Contributor

Reassigned back to @weierophinney as this was due to zendframework/zend-inputfilter#7

zendframework/zend-inputfilter#7 introduced a minor change in how
required elements are handled in specific cases, and this results in a
change in how the "Value is required" validation message is injected
into validation failures. This patch makes the test more robust in
searching for that message.
@weierophinney
Copy link
Member

The issue is due to how the "required" validation failure message is injected after zendframework/zend-inputfilter#7; the patch I've introduced just updates the test to be more robust in how it finds that message in the returned validation failure message list.

@weierophinney weierophinney merged commit 9610eb4 into zendframework:master Aug 11, 2015
weierophinney added a commit that referenced this pull request Aug 11, 2015
weierophinney added a commit that referenced this pull request Aug 11, 2015
@weierophinney weierophinney deleted the hotfix/21 branch August 11, 2015 18:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants