Adds simple test to fetch cards
This commit is contained in:
parent
83b5cda902
commit
2213dd30b5
|
@ -1,4 +1,5 @@
|
||||||
using JpnCardsPokemon.Tests.Classes;
|
using JpnCardsPokemon.Tests.Classes;
|
||||||
|
using JpnCardsPokemonSdk.Utils.QueryFilter;
|
||||||
|
|
||||||
namespace JpnCardsPokemon.Tests.Tests.Tests;
|
namespace JpnCardsPokemon.Tests.Tests.Tests;
|
||||||
|
|
||||||
|
@ -7,7 +8,7 @@ public class CardTests : ApiTestClass
|
||||||
[Test]
|
[Test]
|
||||||
public async Task TestFetchCards()
|
public async Task TestFetchCards()
|
||||||
{
|
{
|
||||||
//var cards = await Client.FetchDataAsync<Card>();
|
var cards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { Name = "morpeko" });
|
||||||
//Assert.IsNotEmpty(cards?.Data);
|
Assert.IsNotEmpty(cards);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue