Skip to content

Commit e9b5274

Browse files
vb2aeCopilot
andauthored
Update src/Caliburn.Micro.Core.Tests/EventAggregatorExtensionsTests.cs
Co-authored-by: Copilot <[email protected]>
1 parent 7a9fefa commit e9b5274

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Caliburn.Micro.Core.Tests/EventAggregatorExtensionsTests.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ public async Task PublishOnCurrentThreadAsync_CallsHandleAsyncOnAllSubscribedTar
7373
var mockTargets = new Mock<IHandle<object>>[20];
7474
for (int i = 0; i < mockTargets.Length; i++)
7575
{
76-
mockTargets[i] = new Mock<IHandle<object>>();
76+
var mockTargets = new Mock<IHandle<string>>[20];
77+
for (int i = 0; i < mockTargets.Length; i++)
78+
{
79+
mockTargets[i] = new Mock<IHandle<string>>();
7780
eventAggregator.SubscribeOnPublishedThread(mockTargets[i].Object);
7881
}
7982

0 commit comments

Comments
 (0)