diff --git a/tests/modules/testTracking.cpp b/tests/modules/testTracking.cpp
index 73539692be7a8d2c4c791afbd5012d986760819a..3c9882f36b6318f78c8754f9fc7d3ac21a034111 100644
--- a/tests/modules/testTracking.cpp
+++ b/tests/modules/testTracking.cpp
@@ -301,7 +301,7 @@ TEMPLATE_TEST_CASE("TrackingPlane", "plane", tracking_leapfrog_curved::Tracking,
 
   const HEPEnergyType P0 = 10_GeV;
 
-  auto PID = GENERATE(as<Code>{}, Code::MuPlus, Code::MuPlus, Code::Gamma);
+  auto PID = GENERATE(as<Code>{}, Code::MuPlus, Code::MuPlus, Code::Photon);
   // for algorithms that know magnetic deflections choose: +-50uT, 0uT
   // otherwise just 0uT
   auto Bfield = GENERATE(filter(