2023-03-01 17:29:39 +01:00
|
|
|
|
using JpnCardsPokemon.Tests.Classes;
|
2023-03-01 21:48:01 +01:00
|
|
|
|
using JpnCardsPokemonSdk.Utils.QueryFilter;
|
2023-03-01 17:29:39 +01:00
|
|
|
|
|
|
|
|
|
namespace JpnCardsPokemon.Tests.Tests.Tests;
|
|
|
|
|
|
|
|
|
|
public class CardTests : ApiTestClass
|
|
|
|
|
{
|
|
|
|
|
[Test]
|
|
|
|
|
public async Task TestFetchCards()
|
|
|
|
|
{
|
2023-03-01 21:48:01 +01:00
|
|
|
|
var cards = await Client.FetchCardsAsync(new CardQueryFilterBuilder { Name = "morpeko" });
|
|
|
|
|
Assert.IsNotEmpty(cards);
|
2023-03-01 17:29:39 +01:00
|
|
|
|
}
|
|
|
|
|
}
|