@@ -130,8 +130,6 @@ class CloudSecureConnectionConfigTest : public HttpTest {
130130 writer.String (host.c_str ());
131131 writer.Key (" port" );
132132 writer.Int (port);
133- writer.Key (" keyspace" );
134- writer.String (" database_as_a_service" );
135133 writer.EndObject ();
136134 }
137135
@@ -175,7 +173,6 @@ TEST_F(CloudSecureConnectionConfigTest, CredsV1) {
175173 EXPECT_EQ (" Constellation" , cloud_config.password ());
176174 EXPECT_EQ (" cloud.datastax.com" , cloud_config.host ());
177175 EXPECT_EQ (1443 , cloud_config.port ());
178- EXPECT_EQ (" database_as_a_service" , cloud_config.keyspace ());
179176 EXPECT_EQ (ca_cert (), cloud_config.ca_cert ());
180177 EXPECT_EQ (cert (), cloud_config.cert ());
181178 EXPECT_EQ (key (), cloud_config.key ());
@@ -195,8 +192,6 @@ TEST_F(CloudSecureConnectionConfigTest, CredsV1WithoutCreds) {
195192 writer.String (" bigdata.datastax.com" );
196193 writer.Key (" port" );
197194 writer.Int (2443 );
198- writer.Key (" keyspace" );
199- writer.String (" datastax" );
200195 writer.EndObject ();
201196 create_zip_file (buffer.GetString ());
202197
@@ -205,7 +200,6 @@ TEST_F(CloudSecureConnectionConfigTest, CredsV1WithoutCreds) {
205200 EXPECT_EQ (" " , cloud_config.password ());
206201 EXPECT_EQ (" bigdata.datastax.com" , cloud_config.host ());
207202 EXPECT_EQ (2443 , cloud_config.port ());
208- EXPECT_EQ (" datastax" , cloud_config.keyspace ());
209203 EXPECT_EQ (ca_cert (), cloud_config.ca_cert ());
210204 EXPECT_EQ (cert (), cloud_config.cert ());
211205 EXPECT_EQ (key (), cloud_config.key ());
@@ -227,8 +221,6 @@ TEST_F(CloudSecureConnectionConfigTest, InvalidCredsV1ConfigMissingHost) {
227221 writer.String (" Constellation" );
228222 writer.Key (" port" );
229223 writer.Int (1443 );
230- writer.Key (" keyspace" );
231- writer.String (" database_as_a_service" );
232224 writer.EndObject ();
233225 create_zip_file (buffer.GetString ());
234226
@@ -247,28 +239,6 @@ TEST_F(CloudSecureConnectionConfigTest, InvalidCredsV1ConfigMissingPort) {
247239 writer.String (" Constellation" );
248240 writer.Key (" host" );
249241 writer.String (" cloud.datastax.com" );
250- writer.Key (" keyspace" );
251- writer.String (" database_as_a_service" );
252- writer.EndObject ();
253- create_zip_file (buffer.GetString ());
254-
255- EXPECT_FALSE (config.load (creds_zip_file ()));
256- }
257-
258- TEST_F (CloudSecureConnectionConfigTest, InvalidCredsV1ConfigMissingKeyspace) {
259- CloudSecureConnectionConfig config;
260-
261- StringBuffer buffer;
262- Writer<StringBuffer> writer (buffer);
263- writer.StartObject ();
264- writer.Key (" username" );
265- writer.String (" DataStax" );
266- writer.Key (" password" );
267- writer.String (" Constellation" );
268- writer.Key (" host" );
269- writer.String (" cloud.datastax.com" );
270- writer.Key (" port" );
271- writer.Int (1443 );
272242 writer.EndObject ();
273243 create_zip_file (buffer.GetString ());
274244
0 commit comments