Skip to content

Commit

Permalink
improve wording across diff
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid authored Jun 17, 2024
1 parent 3621b12 commit 3cd25c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Common/HttpApiHandlerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public void CreateCheckStatusResponse_Throws_Exception_When_NotificationUrl_Miss
var httpApiHandler = new HttpApiHandler(GetTestExtension(options), null);
var ex = Assert.Throws<InvalidOperationException>(() => httpApiHandler.CreateCheckStatusResponse(new HttpRequestMessage(), string.Empty, null));
string errorMessage = "Webhooks are not configured. This may occur if the environment variable `WEBSITE_HOSTNAME` is not set (should be automatically set for Azure Functions). " +
"Try setting it to <ip-address>:<port> as the value, where <ip-address>:<port> refers to the address that can be used to reach your function app from outside, or the DNS name of the app.";
"Try setting it to the appropiate URI to reach your app. For example: the DNS name of the app, or a value of the form <ip-address>:<port>.";
Assert.Equal(errorMessage, ex.Message);
}

Expand Down

0 comments on commit 3cd25c6

Please sign in to comment.