algorand-sdk-testing icon indicating copy to clipboard operation
algorand-sdk-testing copied to clipboard

accountInformation.json has incorrect test data

Open FrankSzendzielarz opened this issue 2 years ago • 0 comments

accountInformation.json does not contain required fields

  algod.oas2.json specifies 
  
   "required": [
        "round",
        "address",
        "amount",
        "pending-rewards",
        "amount-without-pending-rewards",
        "rewards",
        "status",
        "min-balance",
        "total-apps-opted-in",
        "total-assets-opted-in",
        "total-created-apps",
        "total-created-assets"
      ],

Some of these are omitted from the accountInformation.json. Actual response from algod does contain those fields. This results in deserialisation failures in the .NET SDK test suite but only in the test suite.

Expected behaviour

Tests to pass, or modified oas2.json

Actual behaviour

Tests fail

FrankSzendzielarz avatar Dec 17 '22 09:12 FrankSzendzielarz