Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Form] Updated unit testing article #13552

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

Merged
merged 1 commit into from
May 18, 2020
Merged

Conversation

HeahDude
Copy link
Contributor

Copy link
Member

@wouterj wouterj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jules! Great to have you working on both repositories, so code issues can be solved with doc changes :)

Copy link
Member

@xabbuh xabbuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the minor changes suggested by Wouter

@javiereguiluz javiereguiluz merged commit de83642 into symfony:3.4 May 18, 2020
@javiereguiluz
Copy link
Member

Thanks Jules for these improvements! Wouter, I did your suggested changes while merging.

@GPHemsley-RELX
Copy link

IMO, these changes aren't enough to cover the material laid out in symfony/symfony#36462 (comment).

In particular, these questions are not answered by these changes:

  • How does one register an extension?
  • What does DoctrineOrmExtension do, why is it needed, and how does one use it?
  • How does mocking ManagerRegistry help? How does it interact with DoctrineOrmExtension?
  • Why would one not be able to use a mock to write their test?
  • How would one use the form.factory service?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants