Skip to content

Commit

Permalink
fix: update reloadDBService from DatabaseTests
Browse files Browse the repository at this point in the history
  • Loading branch information
josegarcia committed Jun 20, 2024
1 parent 9668b29 commit 27c6d08
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nav2_docking/opennav_docking/test/test_dock_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,11 @@ TEST(DatabaseTests, findTests)
TEST(DatabaseTests, reloadDbService)
{
auto node = std::make_shared<rclcpp_lifecycle::LifecycleNode>("test");
std::vector<std::string> plugins{"dockv1", "dockv2"};
std::vector<std::string> plugins{"dockv1"};
node->declare_parameter("dock_plugins", rclcpp::ParameterValue(plugins));
node->declare_parameter(
"dockv1.plugin",
rclcpp::ParameterValue("opennav_docking::SimpleChargingDock"));
opennav_docking::DockDatabase db;
db.initialize(node, nullptr);

Expand Down

0 comments on commit 27c6d08

Please sign in to comment.