Skip to content

Files

Latest commit

author
Glenn Gailey
Apr 6, 2020
e1a1765 · Apr 6, 2020

History

History
14 lines (11 loc) · 622 Bytes

functions-add-output-binding-java-test-cli.md

File metadata and controls

14 lines (11 loc) · 622 Bytes
author ms.service ms.topic ms.date ms.author
ggailey777
azure-functions
include
03/25/2020
glenga

Update the tests

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":::