52 lines
1.0 KiB
Go
52 lines
1.0 KiB
Go
/*
|
|
Stats API Documentation
|
|
|
|
Testing StandingsAPIService
|
|
|
|
*/
|
|
|
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
|
|
|
|
package api
|
|
|
|
import (
|
|
openapiclient "//"
|
|
"context"
|
|
"github.com/stretchr/testify/assert"
|
|
"github.com/stretchr/testify/require"
|
|
"testing"
|
|
)
|
|
|
|
func Test_api_StandingsAPIService(t *testing.T) {
|
|
|
|
configuration := openapiclient.NewConfiguration()
|
|
apiClient := openapiclient.NewAPIClient(configuration)
|
|
|
|
t.Run("Test StandingsAPIService Standings", func(t *testing.T) {
|
|
|
|
t.Skip("skip test") // remove to run test
|
|
|
|
var standingsType interface{}
|
|
|
|
httpRes, err := apiClient.StandingsAPI.Standings(context.Background(), standingsType).Execute()
|
|
|
|
require.Nil(t, err)
|
|
assert.Equal(t, 200, httpRes.StatusCode)
|
|
|
|
})
|
|
|
|
t.Run("Test StandingsAPIService Standings1", func(t *testing.T) {
|
|
|
|
t.Skip("skip test") // remove to run test
|
|
|
|
var standingsType interface{}
|
|
|
|
httpRes, err := apiClient.StandingsAPI.Standings1(context.Background(), standingsType).Execute()
|
|
|
|
require.Nil(t, err)
|
|
assert.Equal(t, 200, httpRes.StatusCode)
|
|
|
|
})
|
|
|
|
}
|