diff options
Diffstat (limited to 'src/mongo/s/request_types/add_shard_to_zone_request_test.cpp')
-rw-r--r-- | src/mongo/s/request_types/add_shard_to_zone_request_test.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mongo/s/request_types/add_shard_to_zone_request_test.cpp b/src/mongo/s/request_types/add_shard_to_zone_request_test.cpp index 35e7b255f55..b147cf90d1e 100644 --- a/src/mongo/s/request_types/add_shard_to_zone_request_test.cpp +++ b/src/mongo/s/request_types/add_shard_to_zone_request_test.cpp @@ -62,11 +62,11 @@ TEST(AddShardToZoneRequest, CommandBuilderShouldAlwaysCreateConfigCommand) { request.appendAsConfigCommand(&builder); auto cmdObj = builder.obj(); - ASSERT_EQ(BSON("_configsvrAddShardToZone" - << "a" - << "zone" - << "z"), - cmdObj); + ASSERT_BSONOBJ_EQ(BSON("_configsvrAddShardToZone" + << "a" + << "zone" + << "z"), + cmdObj); } TEST(AddShardToZoneRequest, MissingZoneErrors) { @@ -120,11 +120,11 @@ TEST(CfgAddShardToZoneRequest, BasicValidConfigCommand) { request.appendAsConfigCommand(&builder); auto cmdObj = builder.obj(); - ASSERT_EQ(BSON("_configsvrAddShardToZone" - << "a" - << "zone" - << "z"), - cmdObj); + ASSERT_BSONOBJ_EQ(BSON("_configsvrAddShardToZone" + << "a" + << "zone" + << "z"), + cmdObj); } TEST(CfgAddShardToZoneRequest, MissingZoneErrors) { |