This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
orchestrator-swagger-go-client/test/api_user_test.go

39 lines
785 B
Go
Raw Normal View History

/*
Anthrove Orchestrator API
Testing UserAPIService
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
package openapi
import (
"context"
2024-07-15 08:24:50 +00:00
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
)
func Test_openapi_UserAPIService(t *testing.T) {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
t.Run("Test UserAPIService UserUserIdPut", func(t *testing.T) {
t.Skip("skip test") // remove to run test
var userId string
httpRes, err := apiClient.UserAPI.UserUserIdPut(context.Background(), userId).Execute()
require.Nil(t, err)
assert.Equal(t, 200, httpRes.StatusCode)
})
}