ZF-11875: When running Zend_Dojo suite three failures occur in view helper tests
Description
When running Zend_Dojo suite three failures occur in view helper tests:
There were 3 failures:
1) Zend_Dojo_Form_Element_NumberSpinnerTest::testRenderingShouldOutputMinAndMaxConstraints
NumberSpinner
Failed asserting that matches PCRE pattern "/'min':\s*5/".
/tmp/zfdev/trunk/tests/Zend/Dojo/Form/Element/NumberSpinnerTest.php:198
2) Zend_Dojo_View_Helper_HorizontalSliderTest::testShouldCreateOnChangeAttributeByDefault
20%
40%
60%
80%
0%
50%
100%
Failed asserting that contains "onChange="dojo.byId('elementId').value = arguments[0];"".
/tmp/zfdev/trunk/tests/Zend/Dojo/View/Helper/HorizontalSliderTest.php:198
3) Zend_Dojo_View_Helper_VerticalSliderTest::testShouldCreateOnChangeAttributeByDefault
20%
40%
60%
80%
0%
50%
100%
Failed asserting that contains "onChange="dojo.byId('elementId').value = arguments[0];"".
All three failures have to do with encoding of attribute values. The SUT returns HTML with dojo attributes encoded, but the tests test for unencoded attributes.
Comments
No comments to display