author | ms.service | ms.topic | ms.date | ms.author |
---|---|---|---|---|
ggailey777 |
azure-functions |
include |
03/18/2020 |
glenga |
Because the archetype also creates a set of tests, you need to update these tests to handle the new msg
parameter in the run
method signature.
Browse to the location of your test code under src/test/java, open the Function.java project file, and replace the line of code under //Invoke
with the following code.
:::code language="java" source="~/functions-quickstart-java/functions-add-output-binding-storage-queue/src/test/java/com/function/FunctionTest.java" range="48-50":::