I\'m using Play 2.6.x and the test helper for status(result) has the method: def status(of: Accumulator[ByteString, Result])(implicit timeout: Timeout
status(result)
def status(of: Accumulator[ByteString, Result])(implicit timeout: Timeout
there's also a status method in the form:
def status(of: Future[Result])(implicit timeout: Timeout): Int
make sure the controller return type is correct so the action returns a Future[Result]
Future[Result]