query test: add $select test
Tested: unit test passed
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: If3af9abbff73a7838e5db69f6037ca5f9eeadf4b
diff --git a/redfish-core/lib/ut/service_root_test.cpp b/redfish-core/lib/ut/service_root_test.cpp
index 673f84c..6d9c677 100644
--- a/redfish-core/lib/ut/service_root_test.cpp
+++ b/redfish-core/lib/ut/service_root_test.cpp
@@ -101,7 +101,8 @@
EXPECT_FALSE(json["ProtocolFeaturesSupported"]["FilterQuery"]);
EXPECT_EQ(json["ProtocolFeaturesSupported"]["OnlyMemberQuery"],
bmcwebInsecureEnableQueryParams);
- EXPECT_FALSE(json["ProtocolFeaturesSupported"]["SelectQuery"]);
+ EXPECT_EQ(json["ProtocolFeaturesSupported"]["SelectQuery"],
+ bmcwebInsecureEnableQueryParams);
EXPECT_FALSE(
json["ProtocolFeaturesSupported"]["DeepOperations"]["DeepPOST"]);
EXPECT_FALSE(