Skip to content

Commit

Permalink
Fix Linting
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
  • Loading branch information
mahadzaryab1 committed Sep 26, 2024
1 parent f2cc9d9 commit 2f1f0e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cassandra/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ func TestNewClusterWithOverrides(t *testing.T) {
cl, err := cfg.NewCluster()
require.NoError(t, err)
assert.NotEmpty(t, cl.Keyspace)
assert.Equal(t, cl.Consistency, gocql.LocalQuorum)
assert.Equal(t, gocql.LocalQuorum, cl.Consistency)
assert.NotNil(t, cl.PoolConfig.HostSelectionPolicy, "local_dc")
require.IsType(t, gocql.PasswordAuthenticator{}, cl.Authenticator)
auth := cl.Authenticator.(gocql.PasswordAuthenticator)
assert.Equal(t, auth.Username, "username")
assert.Equal(t, auth.Password, "password")
assert.Equal(t, "username", auth.Username)
assert.Equal(t, "password", auth.Password)
assert.NotNil(t, cl.SslOpts)
assert.True(t, cl.DisableInitialHostLookup)
}
Expand Down

0 comments on commit 2f1f0e9

Please sign in to comment.