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_plug_test.go
2024-07-15 10:24:50 +02:00

67 lines
1.4 KiB
Go

/*
Anthrove Orchestrator API
Testing PlugAPIService
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech);
package openapi
import (
"context"
openapiclient "git.dragse.it/anthrove/orchestrator-swagger-go-client"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"testing"
)
func Test_openapi_PlugAPIService(t *testing.T) {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
t.Run("Test PlugAPIService PlugPlugTypePut", func(t *testing.T) {
t.Skip("skip test") // remove to run test
var plugType string
httpRes, err := apiClient.PlugAPI.PlugPlugTypePut(context.Background(), plugType).Execute()
require.Nil(t, err)
assert.Equal(t, 200, httpRes.StatusCode)
})
t.Run("Test PlugAPIService PlugPlugTypeTaskIdDelete", func(t *testing.T) {
t.Skip("skip test") // remove to run test
var plugType string
var taskId string
httpRes, err := apiClient.PlugAPI.PlugPlugTypeTaskIdDelete(context.Background(), plugType, taskId).Execute()
require.Nil(t, err)
assert.Equal(t, 200, httpRes.StatusCode)
})
t.Run("Test PlugAPIService PlugPlugTypeTaskIdGet", func(t *testing.T) {
t.Skip("skip test") // remove to run test
var plugType string
var taskId string
httpRes, err := apiClient.PlugAPI.PlugPlugTypeTaskIdGet(context.Background(), plugType, taskId).Execute()
require.Nil(t, err)
assert.Equal(t, 200, httpRes.StatusCode)
})
}