Skip to content

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

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions