Tests fail to compile in Intellij, but are fine in SBT

Answered

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]
required: play.api.mvc.Request[List[api.dtos.Query]]
val result: Future[Result] = controller.doQuery()(request)

Everything is fine if I do it via SBT. 

What am I missing ?

Please sign in to leave a comment.