更新文档内容
This commit is contained in:
@@ -1,31 +1,31 @@
|
||||
/*
|
||||
|
||||
Testing PermissionApiService
|
||||
Testing PermissionAPIService
|
||||
|
||||
*/
|
||||
|
||||
// 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_PermissionApiService(t *testing.T) {
|
||||
func Test_answer_sdk_PermissionAPIService(t *testing.T) {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
|
||||
t.Run("Test PermissionApiService AnswerApiV1PermissionGet", func(t *testing.T) {
|
||||
t.Run("Test PermissionAPIService AnswerApiV1PermissionGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.PermissionApi.AnswerApiV1PermissionGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.PermissionAPI.AnswerApiV1PermissionGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
|
||||
Reference in New Issue
Block a user