diff --git a/Tests/Unit/Device/BeamFootprintTest.cpp b/Tests/Unit/Device/BeamFootprintTest.cpp
index a4949a3dfc08ef9a19121e56b000b9e048d11897..fb09ee5f0775feb0e033f942e9c9eb7934d5186d 100644
--- a/Tests/Unit/Device/BeamFootprintTest.cpp
+++ b/Tests/Unit/Device/BeamFootprintTest.cpp
@@ -12,8 +12,8 @@ class BeamFootprintTest : public ::testing::Test {
 
 TEST_F(BeamFootprintTest, ErroneousArguments)
 {
-    EXPECT_THROW(std::make_unique<FootprintGauss>(-1.0), std::runtime_error);
-    EXPECT_THROW(std::make_unique<FootprintSquare>(-1.0), std::runtime_error);
+    EXPECT_THROW(FootprintGauss(-1.0), std::runtime_error);
+    EXPECT_THROW(FootprintSquare(-1.0), std::runtime_error);
 
     FootprintGauss gaussian_ff(std::numeric_limits<double>::infinity());
     EXPECT_EQ(0.0, gaussian_ff.calculate(-90.0 * Units::deg));