Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Fixed test not being called.
Browse files Browse the repository at this point in the history
Fixed json type id.
  • Loading branch information
Kirbyrawr committed Apr 23, 2020
1 parent d7616ed commit 3a43858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions stellar-dotnet-sdk-test/responses/EffectDeserializerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ public void TestDeserializeTrustlineAuthorizedToMaintainLiabilitiesEffect()
var json = File.ReadAllText(Path.Combine("testdata", "effectTrustlineAuthorizedToMaintainLiabilitiesEffect.json"));
var instance = JsonSingleton.GetInstance<EffectResponse>(json);

AssertTrustlineAuthorizedData(instance);
AssertTrustlineAuthorizedToMaintainLiabilitiesEffect(instance);
}

[TestMethod]
Expand Down Expand Up @@ -559,7 +559,6 @@ private static void AssertTrustlineAuthorizedToMaintainLiabilitiesEffect(EffectR
var effect = (TrustlineAuthorizedToMaintainLiabilitiesEffectResponse)instance;

TrustlineAuthorizationResponse trustline = new TrustlineAuthorizationResponse("GB3E4AB4VWXJDUVN4Z3CPBU5HTMWVEQXONZYVDFMHQD6333KHCOL3UBR", "credit_alphanum12", "TESTTEST");
Assert.AreEqual(new TrustlineAuthorizationResponse().GetType(), instance.GetType());

Assert.AreEqual(effect.Account, "GA6U5X6WOPNKKDKQULBR7IDHDBAQKOWPHYEC7WSXHZBFEYFD3XVZAKOO");
Assert.AreEqual(effect.AssetType, trustline.AssetType);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"paging_token": "33788507721730-2",
"account": "GA6U5X6WOPNKKDKQULBR7IDHDBAQKOWPHYEC7WSXHZBFEYFD3XVZAKOO",
"type": "trustline_authorized",
"type_i": 23,
"type_i": 25,
"asset_type": "credit_alphanum12",
"asset_code": "TESTTEST",
"trustor": "GB3E4AB4VWXJDUVN4Z3CPBU5HTMWVEQXONZYVDFMHQD6333KHCOL3UBR"
Expand Down

0 comments on commit 3a43858

Please sign in to comment.