Closed PhilippeRT closed 3 years ago
Sorry, It works in a controller and in a service (grails 5.0.0). So i missed something in test ? Thanks.
Hello, The thing I missed is that i have to make an Integration Spec and not a standard test. So too cool, it works perfectly. Thanks a lot.
Hello,
It seems that, In grails 5.0.0 as in grails 4.0.12, the mailService is not injected in service. Did i miss something ? Example :
and
it gives
I'm using the mailService in a grails 2.1.4 and did not have any issue.
What's wrong with it ?
Thanks