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