Functional test returns HTTP 200 for not found resource

Using Play! 1.5.0, I followed these steps:

  1. Executed play new example
  2. Executed cd example
  3. In method testThatIndexPageWorks of class example/test/ApplicationTest.java, replaced
Response response = GET("/");
assertIsOk(response);

with

Response response = GET("/notfound");
assertIsNotFound(response);
  1. Executed play test
  2. Opened a browser at http://localhost:9000/@tests?select=ApplicationTest.class
  3. 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?

Created (Lighthouse) ticket 2172.