Using Play! 1.5.0, I followed these steps:
play new example
- In method
Response response = GET("/"); assertIsOk(response);
Response response = GET("/notfound"); assertIsNotFound(response);
- Opened a browser at http://localhost:9000/@tests?select=ApplicationTest.class
- Pressed the “Start !” button
The test fails with
Failure, Response status expected:<404> but was:<200>.
Has there been any change regarding how not found resources are handled?