Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ability to specify form via class name. #2285

Merged
merged 1 commit into from Dec 26, 2014

Conversation

Richtermeister
Copy link
Contributor

According to documentation we should be able to specify the form class directly, but this is not the case, unless the form is also registered in the form factory. This PR fixes this, but also highlights how much mocking overhead comes with testing the resource controller.

pjedrzejewski pushed a commit that referenced this pull request Dec 26, 2014
Fix ability to specify form via class name.
@pjedrzejewski pjedrzejewski merged commit d5f92d8 into Sylius:master Dec 26, 2014
@pjedrzejewski
Copy link
Member

@Richtermeister in #2255 I make the resource controller more testable. Thanks for this fix! 👍

@Richtermeister Richtermeister deleted the fix-form-via-classname branch December 26, 2014 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants