Skip to content

The IsNull test is failing because it is an initialized empty array. #46

@akshays2112

Description

@akshays2112

GetTrack_TrackIdMarket_AvailableMarketsIsNull test fails because returned response.AvailableMarkets is not null but an empty array.

Suggest something like the following code which I tested out and then the test successfully runs:

Assert.IsNull(response?.AvailableMarkets?.Length == 0 ? null : "Array not empty.");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions