diff --git a/tests/test_spline_interpolation.cpp b/tests/test_spline_interpolation.cpp index f28d8899..47e3935e 100644 --- a/tests/test_spline_interpolation.cpp +++ b/tests/test_spline_interpolation.cpp @@ -153,14 +153,17 @@ class SplineInterpolationTest : public ::testing::Test static void TearDownTestSuite() { - // Set target speed scaling to 100% as one test change this value - g_ur_driver_->getRTDEWriter().sendSpeedSlider(1); - g_dashboard_client_->disconnect(); // Remove temporary file again std::remove(SPLINE_SCRIPT_FILE.c_str()); } + void TearDown() + { + // Set target speed scaling to 100% as one test change this value + g_ur_driver_->getRTDEWriter().sendSpeedSlider(1); + } + void SetUp() { step_time_ = 0.002;