From 4cd31ad54b4f7028f14fe9e5dd67a3c44ab8159e Mon Sep 17 00:00:00 2001 From: Wilco den Besten Date: Wed, 4 Sep 2024 12:38:16 +0200 Subject: [PATCH] Fix unit test compilation Signed-off-by: Wilco den Besten --- tests/lib/ocpp/v201/test_charge_point.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/lib/ocpp/v201/test_charge_point.cpp b/tests/lib/ocpp/v201/test_charge_point.cpp index ebc2775e9..b08c90e98 100644 --- a/tests/lib/ocpp/v201/test_charge_point.cpp +++ b/tests/lib/ocpp/v201/test_charge_point.cpp @@ -477,8 +477,7 @@ TEST_F(ChargePointFixture, callbacks.configure_network_connection_profile_callback = nullptr; EXPECT_FALSE(callbacks.all_callbacks_valid()); - testing::MockFunction - configure_network_connection_profile_callback_mock; + testing::MockFunction configure_network_connection_profile_callback_mock; callbacks.configure_network_connection_profile_callback = configure_network_connection_profile_callback_mock.AsStdFunction(); EXPECT_TRUE(callbacks.all_callbacks_valid());