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
{{ message }}
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
1) ZendTest\Mvc\Service\FormAnnotationBuilderFactoryTest::testCreateService
Missing argument 2 for Mock_FormElementManager_1b518e1e::injectFactory(), called in /builddir/build/BUILDROOT/php-zendframework-zend-mvc-2.6.2-1.fc20.remi.x86_64/usr/share/php/Zend/Mvc/Service/FormAnnotationBuilderFactory.php on line 32 and defined
/builddir/build/BUILDROOT/php-zendframework-zend-mvc-2.6.2-1.fc20.remi.x86_64/usr/share/php/Zend/Mvc/Service/FormAnnotationBuilderFactory.php:32
/builddir/build/BUILD/zend-mvc-9babf3f501f7db532f3293ec39593237f297a7d0/test/Service/FormAnnotationBuilderFactoryTest.php:28
2) ZendTest\Mvc\Service\FormAnnotationBuilderFactoryTest::testCreateServiceSetsPreserveDefinedOrder
Missing argument 2 for Mock_FormElementManager_1b518e1e::injectFactory(), called in /builddir/build/BUILDROOT/php-zendframework-zend-mvc-2.6.2-1.fc20.remi.x86_64/usr/share/php/Zend/Mvc/Service/FormAnnotationBuilderFactory.php on line 32 and defined
/builddir/build/BUILDROOT/php-zendframework-zend-mvc-2.6.2-1.fc20.remi.x86_64/usr/share/php/Zend/Mvc/Service/FormAnnotationBuilderFactory.php:32
/builddir/build/BUILD/zend-mvc-9babf3f501f7db532f3293ec39593237f297a7d0/test/Service/FormAnnotationBuilderFactoryTest.php:42
The text was updated successfully, but these errors were encountered:
Confirmed. The issue is that initializers are expected to receive two arguments, but that factory is only using one; the tests are incorrect. Essentially, the zend-form update exposed a problem in the zend-mvc test suite!
Or, rather, the FormAnnotationBuilderFactory is incorrect in this case, as it was calling an initializer method without all required arguments. The zend-form v2.6 and previous versions of the initializer omitted the second argument out of convenience, but should not have. Since that's been corrected, the usage in the zend-mvc factory needs to be updated as well. Will push a fix in a minute.
With zend-form 2.6, test suite is ok
With zend-form 2.7
There were 2 errors:
The text was updated successfully, but these errors were encountered: