更新文档内容
This commit is contained in:
@@ -1,32 +1,31 @@
|
||||
/*
|
||||
answer
|
||||
|
||||
Testing CollectionApiService
|
||||
Testing CollectionAPIService
|
||||
|
||||
*/
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"context"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func Test_openapi_CollectionApiService(t *testing.T) {
|
||||
func Test_answer_sdk_CollectionAPIService(t *testing.T) {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
|
||||
t.Run("Test CollectionApiService AnswerApiV1CollectionSwitchPost", func(t *testing.T) {
|
||||
t.Run("Test CollectionAPIService AnswerApiV1CollectionSwitchPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.CollectionApi.AnswerApiV1CollectionSwitchPost(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.CollectionAPI.AnswerApiV1CollectionSwitchPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -34,11 +33,11 @@ func Test_openapi_CollectionApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test CollectionApiService AnswerApiV1PersonalCollectionPageGet", func(t *testing.T) {
|
||||
t.Run("Test CollectionAPIService AnswerApiV1PersonalCollectionPageGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.CollectionApi.AnswerApiV1PersonalCollectionPageGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.CollectionAPI.AnswerApiV1PersonalCollectionPageGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
|
||||
Reference in New Issue
Block a user