Skip to content

Commit 031e4bc

Browse files
author
Satwik Kumar Sharma
committed
AOT support
1 parent a6fabac commit 031e4bc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

source/NuGet.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@
77
</packageSources>
88
<disabledPackageSources>
99
<clear />
10-
<add key="AdaptiveCards-Dependencies" value="true" />
1110
</disabledPackageSources>
1211
</configuration>

source/uwp/winui3/WinUI3ObjectModelTest/ObjectModelTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ public void OpenUrlAction()
10131013
AdaptiveCard adaptiveCard = new AdaptiveCard();
10141014
adaptiveCard.Actions.Add(openUrlAction);
10151015

1016-
string expectedSerialization = "{\"actions\":[{\"iconUrl\":\"http://www.stuff.com/icon.jpg\",\"id\":\"OpenUrlId\",\"isEnabled\":false,\"mode\":\"secondary\",\"style\":\"Destructive\",\"title\":\"Title\",\"tooltip\":\"I am a tooltip\",\"type\":\"Action.OpenUrl\",\"url\":\"http://www.stuff.com/\"}],\"body\":[],\"type\":\"AdaptiveCard\",\"version\":\"1.0\"}";
1016+
string expectedSerialization = "{\"actions\":[{\"iconUrl\":\"http://www.stuff.com/icon.jpg\",\"id\":\"OpenUrlId\",\"isEnabled\":false,\"mode\":\"secondary\",\"role\":\"Link\",\"style\":\"Destructive\",\"title\":\"Title\",\"tooltip\":\"I am a tooltip\",\"type\":\"Action.OpenUrl\",\"url\":\"http://www.stuff.com/\"}],\"body\":[],\"type\":\"AdaptiveCard\",\"version\":\"1.0\"}";
10171017

10181018
var jsonString = adaptiveCard.ToJson().ToString();
10191019
Assert.AreEqual(expectedSerialization, jsonString);

0 commit comments

Comments
 (0)