更新文档内容
This commit is contained in:
@@ -1,32 +1,31 @@
|
||||
/*
|
||||
answer
|
||||
|
||||
Testing ActivityApiService
|
||||
Testing ActivityAPIService
|
||||
|
||||
*/
|
||||
|
||||
// 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_ActivityApiService(t *testing.T) {
|
||||
func Test_answer_sdk_ActivityAPIService(t *testing.T) {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
|
||||
t.Run("Test ActivityApiService AnswerApiV1FollowPost", func(t *testing.T) {
|
||||
t.Run("Test ActivityAPIService AnswerApiV1FollowPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.ActivityApi.AnswerApiV1FollowPost(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.ActivityAPI.AnswerApiV1FollowPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -34,11 +33,11 @@ func Test_openapi_ActivityApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test ActivityApiService AnswerApiV1FollowTagsPut", func(t *testing.T) {
|
||||
t.Run("Test ActivityAPIService AnswerApiV1FollowTagsPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.ActivityApi.AnswerApiV1FollowTagsPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.ActivityAPI.AnswerApiV1FollowTagsPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -46,11 +45,11 @@ func Test_openapi_ActivityApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test ActivityApiService AnswerApiV1PersonalVotePageGet", func(t *testing.T) {
|
||||
t.Run("Test ActivityAPIService AnswerApiV1PersonalVotePageGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.ActivityApi.AnswerApiV1PersonalVotePageGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.ActivityAPI.AnswerApiV1PersonalVotePageGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -58,11 +57,11 @@ func Test_openapi_ActivityApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test ActivityApiService AnswerApiV1VoteDownPost", func(t *testing.T) {
|
||||
t.Run("Test ActivityAPIService AnswerApiV1VoteDownPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.ActivityApi.AnswerApiV1VoteDownPost(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.ActivityAPI.AnswerApiV1VoteDownPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -70,11 +69,11 @@ func Test_openapi_ActivityApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test ActivityApiService AnswerApiV1VoteUpPost", func(t *testing.T) {
|
||||
t.Run("Test ActivityAPIService AnswerApiV1VoteUpPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.ActivityApi.AnswerApiV1VoteUpPost(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.ActivityAPI.AnswerApiV1VoteUpPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
|
||||
Reference in New Issue
Block a user