更新文档内容
This commit is contained in:
@@ -1,32 +1,31 @@
|
||||
/*
|
||||
answer
|
||||
|
||||
Testing AdminApiService
|
||||
Testing AdminAPIService
|
||||
|
||||
*/
|
||||
|
||||
// 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_AdminApiService(t *testing.T) {
|
||||
func Test_answer_sdk_AdminAPIService(t *testing.T) {
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiAnswerPageGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiAnswerPageGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiAnswerPageGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiAnswerPageGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -34,11 +33,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiAnswerStatusPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiAnswerStatusPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiAnswerStatusPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiAnswerStatusPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -46,11 +45,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiDashboardGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiDashboardGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiDashboardGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiDashboardGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -58,11 +57,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiQuestionPageGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiQuestionPageGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiQuestionPageGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiQuestionPageGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -70,11 +69,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiQuestionStatusPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiQuestionStatusPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiQuestionStatusPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiQuestionStatusPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -82,11 +81,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiReportPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiReportPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiReportPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiReportPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -94,11 +93,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiReportsPageGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiReportsPageGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiReportsPageGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiReportsPageGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -106,11 +105,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiRolesGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiRolesGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiRolesGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiRolesGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -118,11 +117,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSettingSmtpGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSettingPrivilegesGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSettingSmtpGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSettingPrivilegesGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -130,11 +129,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSettingSmtpPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSettingPrivilegesPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSettingSmtpPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSettingPrivilegesPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -142,11 +141,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoBrandingGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSettingSmtpGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoBrandingGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSettingSmtpGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -154,11 +153,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoBrandingPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSettingSmtpPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoBrandingPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSettingSmtpPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -166,11 +165,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoCustomCssHtmlGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoBrandingGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoCustomCssHtmlGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoBrandingGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -178,11 +177,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoCustomCssHtmlPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoBrandingPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoCustomCssHtmlPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoBrandingPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -190,11 +189,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoGeneralGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoCustomCssHtmlGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoGeneralGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoCustomCssHtmlGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -202,11 +201,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoGeneralPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoCustomCssHtmlPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoGeneralPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoCustomCssHtmlPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -214,11 +213,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoInterfaceGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoGeneralGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoInterfaceGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoGeneralGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -226,11 +225,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoInterfacePut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoGeneralPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoInterfacePut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoGeneralPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -238,11 +237,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoLegalGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoInterfaceGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoLegalGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoInterfaceGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -250,11 +249,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoLegalPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoInterfacePut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoLegalPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoInterfacePut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -262,11 +261,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoLoginGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoLegalGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoLoginGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoLegalGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -274,11 +273,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoLoginPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoLegalPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoLoginPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoLegalPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -286,11 +285,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoSeoGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoLoginGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoSeoGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoLoginGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -298,11 +297,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoSeoPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoLoginPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoSeoPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoLoginPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -310,11 +309,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoThemeGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoSeoGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoThemeGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoSeoGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -322,11 +321,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoThemePut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoSeoPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoThemePut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoSeoPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -334,11 +333,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoWriteGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoThemeGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoWriteGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoThemeGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -346,11 +345,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiSiteinfoWritePut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoThemePut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiSiteinfoWritePut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoThemePut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -358,11 +357,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiThemeOptionsGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoUsersGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiThemeOptionsGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoUsersGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -370,11 +369,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiUserPasswordPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoUsersPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiUserPasswordPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoUsersPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -382,11 +381,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiUserPost", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoWriteGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiUserPost(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoWriteGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -394,11 +393,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiUserRolePut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiSiteinfoWritePut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiUserRolePut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiSiteinfoWritePut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -406,11 +405,11 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiUserStatusPut", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiThemeOptionsGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiUserStatusPut(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiThemeOptionsGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
@@ -418,11 +417,95 @@ func Test_openapi_AdminApiService(t *testing.T) {
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminApiService AnswerAdminApiUsersPageGet", func(t *testing.T) {
|
||||
t.Run("Test AdminAPIService AnswerAdminApiUserActivationGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminApi.AnswerAdminApiUsersPageGet(context.Background()).Execute()
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiUserActivationGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminAPIService AnswerAdminApiUserPasswordPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiUserPasswordPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminAPIService AnswerAdminApiUserPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiUserPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminAPIService AnswerAdminApiUserRolePut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiUserRolePut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminAPIService AnswerAdminApiUserStatusPut", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiUserStatusPut(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminAPIService AnswerAdminApiUsersActivationPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiUsersActivationPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminAPIService AnswerAdminApiUsersPageGet", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiUsersPageGet(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
assert.Equal(t, 200, httpRes.StatusCode)
|
||||
|
||||
})
|
||||
|
||||
t.Run("Test AdminAPIService AnswerAdminApiUsersPost", func(t *testing.T) {
|
||||
|
||||
t.Skip("skip test") // remove to run test
|
||||
|
||||
resp, httpRes, err := apiClient.AdminAPI.AnswerAdminApiUsersPost(context.Background()).Execute()
|
||||
|
||||
require.Nil(t, err)
|
||||
require.NotNil(t, resp)
|
||||
|
||||
Reference in New Issue
Block a user