diff --git a/tests/test-constraintgraph.cc b/tests/test-constraintgraph.cc
index 680a3bc7f8f8e0b6ecb0f703d755b3583d549c76..45e535789868abbcf2641236be09187e7fa2dabc 100644
--- a/tests/test-constraintgraph.cc
+++ b/tests/test-constraintgraph.cc
@@ -36,7 +36,7 @@
 
 #include <boost/test/unit_test.hpp>
 
-using hpp::core::SteeringMethodStraight;
+using hpp::core::steeringMethod::Straight;
 using hpp::core::SteeringMethodPtr_t;
 
 typedef std::vector <hpp::manipulation::graph::GraphComponentPtr_t>