ZF-8787: Unit tests for Zend_Form_Element_Submit fail on default translator


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.


Attached patch which calls Zend_Form::setDefaultTranslator(null) in setUp()

This seems to be fixed since r20266 by matthew