Files
autoglue/sdk/go/test/api_health_test.go
2025-11-04 18:16:45 +00:00

38 lines
784 B
Go

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