54 lines
1.1 KiB
Go
54 lines
1.1 KiB
Go
|
/*
|
||
|
Stats API Documentation
|
||
|
|
||
|
Testing SkeletalAPIService
|
||
|
|
||
|
*/
|
||
|
|
||
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
|
||
|
|
||
|
package api
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
"github.com/stretchr/testify/require"
|
||
|
"testing"
|
||
|
openapiclient "//"
|
||
|
)
|
||
|
|
||
|
func Test_api_SkeletalAPIService(t *testing.T) {
|
||
|
|
||
|
configuration := openapiclient.NewConfiguration()
|
||
|
apiClient := openapiclient.NewAPIClient(configuration)
|
||
|
|
||
|
t.Run("Test SkeletalAPIService SkeletalChunked", func(t *testing.T) {
|
||
|
|
||
|
t.Skip("skip test") // remove to run test
|
||
|
|
||
|
var gamePk interface{}
|
||
|
var playId interface{}
|
||
|
|
||
|
httpRes, err := apiClient.SkeletalAPI.SkeletalChunked(context.Background(), gamePk, playId).Execute()
|
||
|
|
||
|
require.Nil(t, err)
|
||
|
assert.Equal(t, 200, httpRes.StatusCode)
|
||
|
|
||
|
})
|
||
|
|
||
|
t.Run("Test SkeletalAPIService SkeletalDataFileNames", func(t *testing.T) {
|
||
|
|
||
|
t.Skip("skip test") // remove to run test
|
||
|
|
||
|
var gamePk interface{}
|
||
|
var playId interface{}
|
||
|
|
||
|
httpRes, err := apiClient.SkeletalAPI.SkeletalDataFileNames(context.Background(), gamePk, playId).Execute()
|
||
|
|
||
|
require.Nil(t, err)
|
||
|
assert.Equal(t, 200, httpRes.StatusCode)
|
||
|
|
||
|
})
|
||
|
|
||
|
}
|