--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/4e4df9b9-0557-47dd-9cd5-34d949a89047%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Unit testing with messages is best done by passing in controller components, using Helpers.stubControllerComponents() into an AbstractController.You can read more about i18nsupport here:
On Tue, Jun 13, 2017 at 6:32 AM, Jason Harris <jason....@digital.hmrc.gov.uk> wrote:
Hi,I have been following the migration guide and have implemented an application which requires I18nSuppport. I am now attempting to unit test our controllers following this guide: https://www.playframework.com/documentation/2.6.x/ScalaTestingWithScalaTest#unit-testing-controllersAre there any examples of unit testing a controller with I18nSupport in 2.6.x - If not can you confirm when the testing DSL will be updated please?ThanksJason
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.