Skip to content

Commit 642bfa2

Browse files
committed
Fixed ApplySettingsTest.SetLoggingPropertiesForUpdateRequest test for Amazon.Lambda.Tools to expect correct type while invoking UpdateFunctionConfigurationAsync().
1 parent 71d4a6a commit 642bfa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Amazon.Lambda.Tools.Test/ApplySettingsTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public async Task SetLoggingPropertiesForUpdateRequest()
109109
Assert.Equal("DEBUG", request.LoggingConfig.ApplicationLogLevel);
110110
Assert.Equal("WARN", request.LoggingConfig.SystemLogLevel);
111111
})
112-
.Returns((CreateFunctionRequest r, CancellationToken token) =>
112+
.Returns((UpdateFunctionConfigurationRequest r, CancellationToken token) =>
113113
{
114114
return Task.FromResult(new UpdateFunctionConfigurationResponse());
115115
});

0 commit comments

Comments
 (0)