diff --git a/test/common/spline/test_cubicspline.cc b/test/common/spline/test_cubicspline.cc
index ae35ab955b03b58b49d89f7b9d881e93e59a8b4a..d83e589cd727fc65a129d6f6a4279343fc643857 100644
--- a/test/common/spline/test_cubicspline.cc
+++ b/test/common/spline/test_cubicspline.cc
@@ -67,7 +67,7 @@ int main(int argc, char** argv)
     const auto y = eval(f, samplePoints);
 
     // create the spline
-    Dumux::CubicSpline spline(samplePoints, y);
+    Dumux::CubicSpline<double> spline(samplePoints, y);
 
     // evaluate spline and derivative
     const auto result = eval([&](const double x) { return spline.eval(x); }, testPoints);
diff --git a/test/common/spline/test_monotonecubicspline.cc b/test/common/spline/test_monotonecubicspline.cc
index 50693457f943e2bf33e8957a8c85c0354aa877e9..3ce80a1de70e38be905e9ea496c32100e70fe676 100644
--- a/test/common/spline/test_monotonecubicspline.cc
+++ b/test/common/spline/test_monotonecubicspline.cc
@@ -67,7 +67,7 @@ int main(int argc, char** argv)
     const auto y = eval(f, samplePoints);
 
     // create the spline
-    Dumux::MonotoneCubicSpline spline(samplePoints, y);
+    Dumux::MonotoneCubicSpline<double> spline(samplePoints, y);
 
     // evaluate spline and derivative
     const auto result = eval([&](const double x) { return spline.eval(x); }, testPoints);