добавлена асинхронность

This commit is contained in:
micialware committed 2025-02-03 10:42:47 +03:00
1 parent 1f2df53c12
commit b2f16b27f4
9 files changed
+49 -32

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ public class StreamTest
var req = new JsonCallRequest { CommandId = 1, ObjectId = -1 };
_frontendSerialisationModule.PostCallRequest(req);
var res = ((JsonElement)_frontendSerialisationModule.GetNextCommandExecution<FinalCommandExecution>(req.CallRequestId).Result).Deserialize<MockResult>();
var res = ((JsonElement)_frontendSerialisationModule.GetNextCommandExecution<FinalCommandExecution>(req.CallRequestId).GetAwaiter().GetResult().Result!).Deserialize<MockResult>();
isTestNotFinished = false;
Assert.That(res.A == "wqer" && res.B == 5);
}