Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Fixed unnecessary error rendering in form row helper. #4441

Closed
wants to merge 1 commit into from
Closed

Fixed unnecessary error rendering in form row helper. #4441

wants to merge 1 commit into from

Conversation

glen-84
Copy link
Contributor

@glen-84 glen-84 commented May 7, 2013

No description provided.

@weierophinney
Copy link
Member

Please add a unit test for this functionality.

@glen-84
Copy link
Contributor Author

glen-84 commented May 7, 2013

@weierophinney

I didn't add any functionality, isn't this already covered by "testDoesNotRenderErrorsListIfSetToFalse"?

@weierophinney
Copy link
Member

@glen-84 That test was already passing, which means that we need to give it additional input covering the use case that would trigger the issue of errors rendering.

@glen-84
Copy link
Contributor Author

glen-84 commented May 9, 2013

@weierophinney How would I test if a method was invoked ($elementErrorsHelper->render()), is this even possible? My changes have no effect on the output of the helper.

@ghost ghost assigned weierophinney May 9, 2013
weierophinney added a commit that referenced this pull request May 9, 2013
…tion

Fixed unnecessary error rendering in form row helper.
weierophinney added a commit that referenced this pull request May 9, 2013
@glen-84 glen-84 deleted the hotfix/form-row-helper-optimization branch June 18, 2017 08:34
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants