예제 #1
0
        public async Task JikanConstructor_CustomUrl_ShouldParseCorrectly()
        {
            Skip.IfNot(_isV4CustomEndpointReady);
            // Given
            var jikan = new Jikan(new JikanClientConfiguration {
                Endpoint = "https://seiyuu.moe:8000/v4-alpha/"
            });

            // When
            var bebop = await jikan.GetAnimeAsync(1);

            // Then
            bebop.Data.MalId.Should().Be(1);
        }