Skip to content

Commit 81d09ae

Browse files
committed
Fixed build error in ControlPanelTests
1 parent bc3086c commit 81d09ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Cleipnir.ResilientFunctions.Tests/TestTemplates/RFunctionTests/ControlPanelTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ protected async Task SucceedingExistingParamlessFromControlPanelSucceeds(Task<IF
324324
using var functionsRegistry = new FunctionsRegistry(store, new Settings(unhandledExceptionCatcher.Catch));
325325
var paramlessRegistration = functionsRegistry.RegisterParamless(
326326
functionTypeId,
327-
inner: () => throw new Exception("oh no")
327+
inner: Task () => throw new Exception("oh no")
328328
);
329329

330330
await Should.ThrowAsync<Exception>(() => paramlessRegistration.Invoke(functionInstanceId.Value));

0 commit comments

Comments
 (0)