summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNan Zhou <nanzhoumails@gmail.com>2022-08-05 20:21:25 +0300
committerEd Tanous <ed@tanous.net>2022-08-10 18:46:53 +0300
commit0ea42c4abad60b3d705a48aa9e0e130c3f29c11b (patch)
tree09f9f8f0f8bb76b36535650602a3d695131305ac
parentf252a6a7277a1dd949c831992659b473e4054319 (diff)
downloadbmcweb-0ea42c4abad60b3d705a48aa9e0e130c3f29c11b.tar.xz
query test: add $select test
Tested: unit test passed Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: If3af9abbff73a7838e5db69f6037ca5f9eeadf4b
-rw-r--r--redfish-core/lib/ut/service_root_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/redfish-core/lib/ut/service_root_test.cpp b/redfish-core/lib/ut/service_root_test.cpp
index 673f84c477..6d9c677bf8 100644
--- a/redfish-core/lib/ut/service_root_test.cpp
+++ b/redfish-core/lib/ut/service_root_test.cpp
@@ -101,7 +101,8 @@ void assertServiceRootGet(crow::Response& res)
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(