From b2d091fbb34663177122bacbcbc9825d53201a5e Mon Sep 17 00:00:00 2001 From: Benedikt Schenkel Date: Fri, 15 Dec 2023 11:50:20 +0100 Subject: [PATCH] update web interface grpc call --- .../Point/PointTest.cs | 1 + src/Point/rasta-point-web/src/Point.tsx | 2 +- .../src/proto/PointServiceClientPb.ts | 43 +++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) diff --git a/src/FieldElementSubsystems.Test/Point/PointTest.cs b/src/FieldElementSubsystems.Test/Point/PointTest.cs index 6f2f731..c471999 100644 --- a/src/FieldElementSubsystems.Test/Point/PointTest.cs +++ b/src/FieldElementSubsystems.Test/Point/PointTest.cs @@ -99,6 +99,7 @@ public async Task Test_Timeout() // Assert Assert.Equal(GenericPointPosition.NoEndPosition, point.PointState.PointPosition); + mockConnection.Verify(v => v.SendTimeoutMessage(), Times.Once()); } [Theory] diff --git a/src/Point/rasta-point-web/src/Point.tsx b/src/Point/rasta-point-web/src/Point.tsx index 6963a79..3d3eb6d 100644 --- a/src/Point/rasta-point-web/src/Point.tsx +++ b/src/Point/rasta-point-web/src/Point.tsx @@ -114,7 +114,7 @@ class Point extends Component<{}, PointState> {