@Test public void get_withAuthentication() { Result result = callAction( controllers.admin.routes.ref.SermonController.maint(), fakeRequest().withSession("userName", "test-suite-user")); assertEquals(200, status(result)); }
@Test public void uploadSermon_withoutAuth() { Result result = callAction(controllers.admin.routes.ref.SermonController.uploadSermon(), fakeRequest()); assertEquals(303, status(result)); }