Skip to content

Commit

Permalink
Comment out broken Go test generation
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiechayes committed Nov 7, 2023
1 parent 621d166 commit 103ed7f
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ package {{packageName}}

import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
{{goImportAlias}} "{{gitHost}}/{{gitUserId}}/{{gitRepoId}}{{#isGoSubmodule}}/{{packageName}}{{/isGoSubmodule}}"
// "github.com/stretchr/testify/assert"
// "github.com/stretchr/testify/require"
// {{goImportAlias}} "{{gitHost}}/{{gitUserId}}/{{gitRepoId}}{{#isGoSubmodule}}/{{packageName}}{{/isGoSubmodule}}"
)

func Test_{{packageName}}_{{classname}}Service(t *testing.T) {
configuration := {{goImportAlias}}.NewConfiguration()
configuration.SetHost("http://127.0.0.1:4010")
{{> api_doc_example_setup_client}}
// configuration := {{goImportAlias}}.NewConfiguration()
// configuration.SetHost("http://127.0.0.1:4010")
// {{> api_doc_example_setup_client}}

{{#operations}}
{{#operation}}
t.Run("Test {{classname}}Service {{{nickname}}}", func(t *testing.T) {
/* TODO: ENG-1367 Fix parameter values for Go SDK generated tests
{{> api_doc_example_execute}}

require.Nil(t, err)
require.NotNil(t, resp)
assert.Equal(t, 200, httpRes.StatusCode)

*/
})

{{/operation}}
Expand Down

0 comments on commit 103ed7f

Please sign in to comment.