更新文档内容
This commit is contained in:
@@ -1,31 +1,31 @@
|
||||
/*
|
||||
|
||||
Testing AdminPluginApiService
|
||||
Testing AdminPluginAPIService
|
||||
|
||||
*/
|
||||
|
||||
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
|
||||
|
||||
package openapi
|
||||
package answer_sdk
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
|
||||
openapiclient "git.ncc.cx/package/openapi-go-answer"
|
||||
)
|
||||
|
||||
func Test_openapi_AdminPluginApiService(t *testing.T) {
|
||||
func Test_answer_sdk_AdminPluginAPIService(t *testing.T) {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
|
||||
t.Run("Test AdminPluginApiService AnswerAdminApiPluginConfigGet", func(t *testing.T) {
|
||||
t.Run("Test AdminPluginAPIService AnswerAdminApiPluginConfigGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminPluginApi.AnswerAdminApiPluginConfigGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminPluginAPI.AnswerAdminApiPluginConfigGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -33,11 +33,11 @@ func Test_openapi_AdminPluginApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminPluginApiService AnswerAdminApiPluginConfigPut", func(t *testing.T) {
|
||||
t.Run("Test AdminPluginAPIService AnswerAdminApiPluginConfigPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminPluginApi.AnswerAdminApiPluginConfigPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminPluginAPI.AnswerAdminApiPluginConfigPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -45,11 +45,11 @@ func Test_openapi_AdminPluginApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminPluginApiService AnswerAdminApiPluginStatusPut", func(t *testing.T) {
|
||||
t.Run("Test AdminPluginAPIService AnswerAdminApiPluginStatusPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminPluginApi.AnswerAdminApiPluginStatusPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminPluginAPI.AnswerAdminApiPluginStatusPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -57,11 +57,11 @@ func Test_openapi_AdminPluginApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminPluginApiService AnswerAdminApiPluginsGet", func(t *testing.T) {
|
||||
t.Run("Test AdminPluginAPIService AnswerAdminApiPluginsGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminPluginApi.AnswerAdminApiPluginsGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminPluginAPI.AnswerAdminApiPluginsGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
|
||||
Reference in New Issue
Block a user