Skip to content
This repository has been archived by the owner on Sep 12, 2021. It is now read-only.

Use implicit Application instead of the MessagesApi to reduce boilerplate code in the tests #338

Merged
merged 1 commit into from
May 7, 2015

Conversation

akkie
Copy link
Contributor

@akkie akkie commented May 6, 2015

When running tests with WithApplication there is always an implicit application in scope. This reduces the need to get the MessagesApi from injector and declare it as implicit for the FakeEnvironment. Instead the FakeEnvironment will fetch it from injector.

akkie added a commit that referenced this pull request May 7, 2015
Use implicit `Application` instead of the `MessagesApi` to reduce boilerplate code in the tests
@akkie akkie merged commit 3c860cf into mohiva:master May 7, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant