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

This commit is contained in:
2025-02-03 10:42:47 +03:00
parent 1f2df53c12
commit b2f16b27f4
9 changed files with 49 additions and 32 deletions
+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);
}