orchestrator-swagger-go-client/test/api_user_test.go
2024-09-01 19:09:40 +02:00

39 lines
788 B
Go

/*
Anthrove Orchestrator API
Testing UserAPIService
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
package openapi
import (
"context"
openapiclient "git.anthrove.art/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)
})
}