From 6a7d4eb3ce7bfd8a7950630951bdc6695e6cf9a9 Mon Sep 17 00:00:00 2001 From: Osman Hadzic Date: Mon, 4 Dec 2023 09:27:13 +0100 Subject: [PATCH] Allow sending all data typs on interfase Signed-off-by: Osman Hadzic --- .../AstarteAggregateDeviceTest.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/AstarteDeviceSDKCSharpE2E.Tests/AstarteAggregateDeviceTest.cs b/AstarteDeviceSDKCSharpE2E.Tests/AstarteAggregateDeviceTest.cs index be7f914..04d546e 100644 --- a/AstarteDeviceSDKCSharpE2E.Tests/AstarteAggregateDeviceTest.cs +++ b/AstarteDeviceSDKCSharpE2E.Tests/AstarteAggregateDeviceTest.cs @@ -119,10 +119,7 @@ public async void AggregateFromServerToDevice() astarteServerAggregateDatastream.AddListener(this); Dictionary data = astarteMockDevice.MockDataDictionary; - - data.Remove("datetime_endpoint"); - data.Remove("datetimearray_endpoint"); - + Thread.Sleep(500); await astarteHttpRequestTest @@ -140,13 +137,10 @@ public void ValueReceived(AstarteAggregateDatastreamEvent e) dynamic jsonInfo = JsonConvert.SerializeObject(e.GetValues()); Dictionary data = astarteMockDevice.MockDataDictionary; - data["datetime_endpoint"] = new DateTime(); - data["datetimearray_endpoint"] = new DateTime[0]; astarteAggregateData = JsonConvert.DeserializeObject (jsonInfo.ToString()); - Assert.True(AstarteMockDevice.MockData.Equals(astarteAggregateData)); } }