summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNan Zhou <nanzhoumails@gmail.com>2022-11-09 23:17:20 +0300
committerNan Zhou <nanzhoumails@gmail.com>2022-11-09 23:17:27 +0300
commit32d9a653b253e963eab9c9d49a377d4d48e9ea8a (patch)
treedcf8593af879212cb53d76d12beaa648ecb94f6b /test
parentdf0c4ee06aaa7cd147d69e938ebd89ee81c50402 (diff)
downloadbmcweb-32d9a653b253e963eab9c9d49a377d4d48e9ea8a.tar.xz
thermal subsystem test: fix typo
Testd: unit test only change Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: I0a8d1e97d8f0be8a79b9c40a75eeb0659bba638b
Diffstat (limited to 'test')
-rw-r--r--test/redfish-core/lib/thermal_subsystem_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/redfish-core/lib/thermal_subsystem_test.cpp b/test/redfish-core/lib/thermal_subsystem_test.cpp
index 88747a20f2..305e29aeee 100644
--- a/test/redfish-core/lib/thermal_subsystem_test.cpp
+++ b/test/redfish-core/lib/thermal_subsystem_test.cpp
@@ -16,7 +16,7 @@ namespace
constexpr const char* chassisId = "ChassisId";
constexpr const char* validChassisPath = "ChassisPath";
-void assertThemalCollectionGet(crow::Response& res)
+void assertThermalCollectionGet(crow::Response& res)
{
nlohmann::json& json = res.jsonValue;
EXPECT_EQ(json["@odata.type"], "#ThermalSubsystem.v1_0_0.ThermalSubsystem");
@@ -32,7 +32,7 @@ TEST(ThermalSubsystemCollectionTest,
ThermalSubsystemCollectionStaticAttributesAreExpected)
{
auto shareAsyncResp = std::make_shared<bmcweb::AsyncResp>();
- shareAsyncResp->res.setCompleteRequestHandler(assertThemalCollectionGet);
+ shareAsyncResp->res.setCompleteRequestHandler(assertThermalCollectionGet);
doThermalSubsystemCollection(
shareAsyncResp, chassisId,
std::make_optional<std::string>(validChassisPath));