Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcasperson committed Jan 28, 2022
1 parent df18e4f commit 9af3441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/matthewcasperson/FunctionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public HttpResponseMessage.Builder answer(InvocationOnMock invocation) {
doReturn(Logger.getGlobal()).when(context).getLogger();

// Invoke
final HttpResponseMessage ret = new Function().run(req, context);
final HttpResponseMessage ret = new Function().transcribe(req, context);

// Verify
assertEquals(ret.getStatus(), HttpStatus.BAD_REQUEST);
Expand Down

0 comments on commit 9af3441

Please sign in to comment.