diff --git a/tesseract_visualization/test/trajectory_player_unit.cpp b/tesseract_visualization/test/trajectory_player_unit.cpp index a162f27246f..5f6ef32d5cc 100644 --- a/tesseract_visualization/test/trajectory_player_unit.cpp +++ b/tesseract_visualization/test/trajectory_player_unit.cpp @@ -52,7 +52,7 @@ TEST(TesseracTrajectoryPlayerUnit, TrajectoryTest) // NOLINT TrajectoryPlayer player; player.setTrajectory(trajectory); - EXPECT_NEAR(player.trajectoryDuration(), 9, 1e-5); + EXPECT_NEAR(player.trajectoryDurationEnd(), 9, 1e-5); EXPECT_NEAR(player.currentDuration(), 0, 1e-5); for (long i = 0; i < 10; ++i)