Skip to content

Commit f16e290

Browse files
author
Anouar Hassine
committed
Updating headers unit test
1 parent ff0bf73 commit f16e290

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ReactiveXComponentTest/WebSocket/WebSocketTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ public void SubscriberHeaderFieldsTest()
119119
xcConfiguration.GetStateMachineCode(componentName, stateMachineName).Returns(x => stateMachineCodeSent);
120120
xcConfiguration.GetSubscriberTopic(componentName, stateMachineName).Returns(x => subscriberPublicTopic);
121121
xcConfiguration.GetSnapshotTopic(componentName).Returns(x => snapshotTopic);
122+
xcConfiguration.GetSerializationType().Returns(XCApiTags.Json);
122123

123124
var webSocketClient = Substitute.For<IWebSocketClient>();
124125
webSocketClient.IsOpen.Returns(true);

0 commit comments

Comments
 (0)