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]
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 ?

0
Avatar
Permanently deleted user

forget it.

Magically solved

0

请先登录再写评论。