Tests fail to compile in Intellij, but are fine in SBT 关注
After an upgrade to Intellij v2016.3, I had to reimport all my project from scratch, and now I'm unable to compile in Intellij.
Error:(34, 57) type mismatch;
found : play.api.test.FakeRequest[play.api.mvc.AnyContentAsEmpty.type]
val result: Future[Result] = controller.doQuery()(request)
Everything is fine if I do it via SBT.
What am I missing ?