-
Notifications
You must be signed in to change notification settings - Fork 2
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
Controller unit tests stopped working. #10
Comments
Oh yeah, the bean wont be available during unit tests coz plugin doesnt run in unit tests, u will have to define the mock bean your self. See grails docs for how to defineBeans during unit tests |
I think it is not a very good behavior of a plugin to corrupt all unrelated unit tests. |
I would agree with @verglor . It would be nice to not have this problem or at least to have it mentioned in documentation. |
@taschukMax - Any PR Welcome |
After installing this plugin all controller unit tests throws
NoSuchBeanDefinitionException: No qualifying bean of type 'org.grails.plugins.htmlcleaner.HtmlCleaner' available
:The text was updated successfully, but these errors were encountered: