Skip to content

Commit

Permalink
Merge pull request #55 from osmanhadzic/astarte_csharp_updatee2e_work…
Browse files Browse the repository at this point in the history
…flow

[AstarteDeviceSDKCSharp]: Update e2e workflow
  • Loading branch information
harlem88 authored Dec 4, 2023
2 parents 3af1296 + f1cd747 commit b25bc88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: astarte
uses: astarte-platform/astarte-cluster-action@v1
with:
astarte_version: "1.0.4"
astarte_version: "1.1.1"
- name: Checkout sources
uses: actions/checkout@v3
- name: Install interface
Expand Down
6 changes: 0 additions & 6 deletions AstarteDeviceSDKCSharpE2E.Tests/AstarteAggregateDeviceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@ public async void AggregateFromServerToDevice()

Dictionary<string, object> data = astarteMockDevice.MockDataDictionary;

data.Remove("datetime_endpoint");
data.Remove("datetimearray_endpoint");

Thread.Sleep(500);

await astarteHttpRequestTest
Expand All @@ -140,13 +137,10 @@ public void ValueReceived(AstarteAggregateDatastreamEvent e)
dynamic jsonInfo = JsonConvert.SerializeObject(e.GetValues());

Dictionary<string, object> data = astarteMockDevice.MockDataDictionary;
data["datetime_endpoint"] = new DateTime();
data["datetimearray_endpoint"] = new DateTime[0];

astarteAggregateData = JsonConvert.DeserializeObject
<MockDataDevice>(jsonInfo.ToString());


Assert.True(AstarteMockDevice.MockData.Equals(astarteAggregateData));
}
}
Expand Down

0 comments on commit b25bc88

Please sign in to comment.