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
however, passing type instances to FormFactoryInterface::create is deprecated in favor of FQCNs.
The simple example in the article is trivial to update, but we can't figure out how to do it for form types that have dependencies. Following the article back in the days, we have written tests that look something like this:
During our update to 2.8 we noticed that the cookbook article on form tests is outdated.
It still says
however, passing type instances to
FormFactoryInterface::create
is deprecated in favor of FQCNs.The simple example in the article is trivial to update, but we can't figure out how to do it for form types that have dependencies. Following the article back in the days, we have written tests that look something like this:
Is there any documentation available on how to update these tests for Symfony 2.8?
The text was updated successfully, but these errors were encountered: