Skip to content

Commit

Permalink
upd AI settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ridomin committed Sep 13, 2022
1 parent e2c9e09 commit 9693a3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion samples/memmon/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"cs" : "HostName=test.mosquitto.org;TcpPort=8886"
},
"ApplicationInsights": {
"ConnectionString": "InstrumentationKey=50cb7b11-9466-4348-a6eb-0ef66b3fb724;IngestionEndpoint=https://westus3-1.in.applicationinsights.azure.com/",
"ConnectionString": "InstrumentationKey=50cb7b11-9466-4348-a6eb-0ef66b3fb724;IngestionEndpoint=https://westus3-1.in.applicationinsights.azure.com/"
},
"Logging": {
"ApplicationInsights": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,10 @@ public async Task InitTwinComplexWithDesiredTriggersUpdate()
desired = new Dictionary<string, object>() { { "$version", 2 }, { "myComplexObj", new AComplexObj { MyProperty = "twinValue" } } }
});
await wp.InitPropertyAsync(twin, new AComplexObj());
Assert.Equal("twinValue", wp.PropertyValue.Value.MyProperty);
Assert.Equal(200, wp.PropertyValue.Status);
Assert.Equal(2, wp.PropertyValue.Version);
Assert.Equal(2, wp.PropertyValue.DesiredVersion);
Assert.Equal("twinValue", wp?.PropertyValue?.Value?.MyProperty);
Assert.Equal(200, wp?.PropertyValue.Status);
Assert.Equal(2, wp?.PropertyValue.Version);
Assert.Equal(2, wp?.PropertyValue.DesiredVersion);
}


Expand Down

0 comments on commit 9693a3a

Please sign in to comment.