scalatestplus-play
scalatestplus-play copied to clipboard
Doesn't seem like the JVM arguments make their way into the Application.
When trying to run the test using GuiceOneAppPerSuite doesn't seem like the JVM arguments set in Build.scala are being passed into the Application instance of the JVM.
implicit val ec = scala.concurrent.ExecutionContext.global
val cc = Helpers.stubControllerComponents()
val controller = new Model(cc, new Authenticated(cc.parsers.defaultBodyParser))
val result: Future[Result] = controller.getPage(1L).apply(FakeRequest())
@dk8996 I'm not sure I understand what the pasted code is demonstrating.
Also, are you running the tests in forked JVMs?