ZF-8787: Unit tests for Zend_Form_Element_Submit fail on default translator
Description
Several (four, to be precise) unit tests fail because they expect the label of the element to be set to the name of the element ('foo') and not be translated. However, for some reason, there is a default translator which always translates 'foo' into 'bar'. Probably left behind from some other Zend_Form related unit test? Anyway, to prevent this a slight adjustment to the setUp() is in order. See attachment in comment #1.
Comments
Posted by Menno Luiten (mluiten) on 2010-01-12T07:31:17.000+0000
Attached patch which calls Zend_Form::setDefaultTranslator(null) in setUp()
Posted by Menno Luiten (mluiten) on 2010-01-16T06:44:05.000+0000
This seems to be fixed since r20266 by matthew