diff options
author | Nan Zhou <nanzhoumails@gmail.com> | 2022-08-05 20:21:25 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-08-10 18:46:53 +0300 |
commit | 0ea42c4abad60b3d705a48aa9e0e130c3f29c11b (patch) | |
tree | 09f9f8f0f8bb76b36535650602a3d695131305ac | |
parent | f252a6a7277a1dd949c831992659b473e4054319 (diff) | |
download | bmcweb-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.cpp | 3 |
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( |