Skip to content

Commit

Permalink
rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks committed Oct 29, 2024
1 parent e9a0c25 commit 6edc4c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions go/ai-proxy/test/ollama/ollama_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ func TestOllamaAIProxy(t *testing.T) {
t.Fatal(err)
}

mockResponseFuck := helpers.MockResponse(tc.Endpoint, wantDataBytes, tc.WantErr, tc.WantStatus)
err = mockResponseFuck(handlers)
mockResponseFunc := helpers.MockResponse(tc.Endpoint, wantDataBytes, tc.WantErr, tc.WantStatus)
err = mockResponseFunc(handlers)
if err != nil {
t.Fatal(err)
}
Expand Down
4 changes: 2 additions & 2 deletions go/ai-proxy/test/openai/openai_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func TestOpenAIProxy(t *testing.T) {
t.Fatal(err)
}

mockResponseFuck := helpers.MockResponse(tc.Endpoint, wantDataBytes, tc.WantErr, tc.WantStatus)
err = mockResponseFuck(handlers)
mockResponseFunc := helpers.MockResponse(tc.Endpoint, wantDataBytes, tc.WantErr, tc.WantStatus)
err = mockResponseFunc(handlers)
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 6edc4c3

Please sign in to comment.