Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 80b6045

Browse files
committed
feat: removing code not needed
Signed-off-by: Tyrrellion <samuel.tyrell1@nhs.net>
1 parent dc26489 commit 80b6045

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/ServiceLayer.Mesh.Tests/Functions/DiscoveryFunctionTests.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ public async Task Run_AddsNewMessageToDbAndQueue()
6161
Response = new CheckInboxResponse { Messages = new[] { testMessageId } }
6262
});
6363

64-
_queueClientMock
65-
.Setup(q => q.SendMessage(It.IsAny<string>(), null, null, It.IsAny<CancellationToken>()))
66-
.Returns(Response.FromValue<SendReceipt>(null, Mock.Of<Response>()));
67-
6864
// Act
6965
await _function.Run(null);
7066

@@ -139,10 +135,6 @@ public async Task Run_MultipleMessagesInInbox_AllAreProcessed()
139135
Response = new CheckInboxResponse { Messages = messageIds }
140136
});
141137

142-
_queueClientMock
143-
.Setup(q => q.SendMessage(It.IsAny<string>(), null, null, It.IsAny<CancellationToken>()))
144-
.Returns(Response.FromValue<SendReceipt>(null, Mock.Of<Response>()));
145-
146138
// Act
147139
await _function.Run(null);
148140

0 commit comments

Comments
 (0)