mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Fix stale doPost references in servlet test method names
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=148352385
This commit is contained in:
parent
1e7fc4d64d
commit
d8ce444251
3 changed files with 3 additions and 3 deletions
|
@ -38,7 +38,7 @@ public class BackendServletTest {
|
|||
private final HttpServletResponse rsp = mock(HttpServletResponse.class);
|
||||
|
||||
@Test
|
||||
public void testDoPost_notFound() throws Exception {
|
||||
public void testService_unknownPath_returnsNotFound() throws Exception {
|
||||
when(req.getMethod()).thenReturn("GET");
|
||||
when(req.getRequestURI()).thenReturn("/lol");
|
||||
new BackendServlet().service(req, rsp);
|
||||
|
|
|
@ -38,7 +38,7 @@ public class FrontendServletTest {
|
|||
private final HttpServletResponse rsp = mock(HttpServletResponse.class);
|
||||
|
||||
@Test
|
||||
public void testDoPost_notFound() throws Exception {
|
||||
public void testService_unknownPath_returnNotFound() throws Exception {
|
||||
when(req.getMethod()).thenReturn("GET");
|
||||
when(req.getRequestURI()).thenReturn("/lol");
|
||||
new FrontendServlet().service(req, rsp);
|
||||
|
|
|
@ -32,7 +32,7 @@ public class ToolsServletTest {
|
|||
private final HttpServletResponse rsp = mock(HttpServletResponse.class);
|
||||
|
||||
@Test
|
||||
public void testDoPost_notFound() throws Exception {
|
||||
public void testService_unknownPath_returnsNotFound() throws Exception {
|
||||
when(req.getMethod()).thenReturn("GET");
|
||||
when(req.getRequestURI()).thenReturn("/lol");
|
||||
new ToolsServlet().service(req, rsp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue