diff --git a/tesseract_task_composer/test/tesseract_task_composer_planning_unit.cpp b/tesseract_task_composer/test/tesseract_task_composer_planning_unit.cpp index 4ced5c32b7..124abfc885 100644 --- a/tesseract_task_composer/test/tesseract_task_composer_planning_unit.cpp +++ b/tesseract_task_composer/test/tesseract_task_composer_planning_unit.cpp @@ -783,7 +783,9 @@ TEST_F(TesseractTaskComposerPlanningUnit, TaskComposerFormatAsResultTaskTests) { // Test run method auto data = std::make_unique(); CompositeInstruction compare = test_suite::jointInterpolateExampleProgramABB(false); - data->setData("input_data", test_suite::jointInterpolateExampleProgramABB(true)); + CompositeInstruction input_data = test_suite::jointInterpolateExampleProgramABB(true); + input_data.setUUID(compare.getUUID()); + data->setData("input_data", input_data); auto context = std::make_unique("abc", std::move(data)); std::vector input_keys{ "input_data" }; std::vector output_keys{ "output_data" };