Skip to content

Commit

Permalink
Fix unit test compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Wilco den Besten <[email protected]>
  • Loading branch information
WilcodenBesten committed Sep 4, 2024
1 parent c44fba1 commit 4cd31ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/lib/ocpp/v201/test_charge_point.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,7 @@ TEST_F(ChargePointFixture,
callbacks.configure_network_connection_profile_callback = nullptr;
EXPECT_FALSE(callbacks.all_callbacks_valid());

testing::MockFunction<bool(const NetworkConnectionProfile& network_connection_profile)>
configure_network_connection_profile_callback_mock;
testing::MockFunction<ConfigureNetworkConnectionProfileCallback> 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());
Expand Down

0 comments on commit 4cd31ad

Please sign in to comment.