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

Update documentation for unit testing controllers #119

Open
marcospereira opened this issue Aug 16, 2018 · 0 comments
Open

Update documentation for unit testing controllers #119

marcospereira opened this issue Aug 16, 2018 · 0 comments

Comments

@marcospereira
Copy link
Member

https://www.playframework.com/documentation/2.6.x/ScalaTestingWithScalaTest#Unit-Testing-Controllers

The current documentation examples are using extends Controller which is a deprecated API. It should instead use extends BaseController or extends AbstractController. The test can later use Helpers.stubControllerComponents.

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