mlbstats/api/test/api_high_low_test.go

50 lines
1008 B
Go

/*
Stats API Documentation
Testing HighLowAPIService
*/
// 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_HighLowAPIService(t *testing.T) {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
t.Run("Test HighLowAPIService HighLow", func(t *testing.T) {
t.Skip("skip test") // remove to run test
var highLowType interface{}
httpRes, err := apiClient.HighLowAPI.HighLow(context.Background(), highLowType).Execute()
require.Nil(t, err)
assert.Equal(t, 200, httpRes.StatusCode)
})
t.Run("Test HighLowAPIService HighLowStats", func(t *testing.T) {
t.Skip("skip test") // remove to run test
httpRes, err := apiClient.HighLowAPI.HighLowStats(context.Background()).Execute()
require.Nil(t, err)
assert.Equal(t, 200, httpRes.StatusCode)
})
}