Skip to content
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

Doesn't seem like the JVM arguments make their way into the Application. #199

Open
dk8996 opened this issue Oct 21, 2019 · 1 comment
Open

Comments

@dk8996
Copy link

dk8996 commented Oct 21, 2019

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())

@ignasi35
Copy link
Member

@dk8996 I'm not sure I understand what the pasted code is demonstrating.

Also, are you running the tests in forked JVMs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants