committed by
GitHub
parent
980504b47e
commit
62eb4beed2
@@ -1,7 +1,7 @@
|
||||
package openai //nolint:testpackage // testing private field
|
||||
|
||||
import (
|
||||
. "github.com/sashabaranov/go-openai/internal"
|
||||
utils "github.com/sashabaranov/go-openai/internal"
|
||||
"github.com/sashabaranov/go-openai/internal/test"
|
||||
"github.com/sashabaranov/go-openai/internal/test/checks"
|
||||
|
||||
@@ -86,7 +86,7 @@ func TestFileUploadWithFailingFormBuilder(t *testing.T) {
|
||||
config.BaseURL = ""
|
||||
client := NewClientWithConfig(config)
|
||||
mockBuilder := &mockFormBuilder{}
|
||||
client.createFormBuilder = func(io.Writer) FormBuilder {
|
||||
client.createFormBuilder = func(io.Writer) utils.FormBuilder {
|
||||
return mockBuilder
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user