Files
autoglue/sdk/go/test/api_me_test.go
2025-11-02 13:19:30 +00:00

38 lines
731 B
Go

/*
AutoGlue API
Testing MeAPIService
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
package autoglue
import (
"context"
openapiclient "github.com/glueops/autoglue-sdk"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
)
func Test_autoglue_MeAPIService(t *testing.T) {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
t.Run("Test MeAPIService GetMe", func(t *testing.T) {
t.Skip("skip test") // remove to run test
resp, httpRes, err := apiClient.MeAPI.GetMe(context.Background()).Execute()
require.Nil(t, err)
require.NotNil(t, resp)
assert.Equal(t, 200, httpRes.StatusCode)
})
}