Skip to content

Commit 1bf23d1

Browse files
authored
chore: fix comment in suggestions api (#678)
Fix wrong comment in suggestions API
1 parent c00d8f8 commit 1bf23d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

algolia/suggestions/configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
// Configuration contains all the different parameters one can change to
11-
// instantiate a new client for the Analytics API.
11+
// instantiate a new client for the Query Suggestions API.
1212
type Configuration struct {
1313
AppID string
1414
APIKey string

cts/suggestions/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func TestConfig(t *testing.T) {
7676
require.Equal(t, &indexConfig, got[0])
7777
})
7878

79-
t.Run("Delete the AB test", func(t *testing.T) {
79+
t.Run("Delete the query suggestion config", func(t *testing.T) {
8080
err := querySuggestionsClient.DeleteConfig(indexName)
8181
require.NoError(t, err)
8282

0 commit comments

Comments
 (0)