diff --git a/Code/Mantid/Kernel/test/TimeSeriesPropertyTest.h b/Code/Mantid/Kernel/test/TimeSeriesPropertyTest.h
index e05c7c36dec34064a0d11716b9147af8d9ad7d97..00455508f4c65ffc947c4144a2303e1c87e8146f 100644
--- a/Code/Mantid/Kernel/test/TimeSeriesPropertyTest.h
+++ b/Code/Mantid/Kernel/test/TimeSeriesPropertyTest.h
@@ -293,7 +293,7 @@ public:
     TS_ASSERT( log->addValue("2007-11-30T16:18:40",11) );
     TS_ASSERT_EQUALS( log->realSize(), 11);
 
-    TimeSeriesPropertyStatistics stats = getTimeSeriesPropertyStatistics( log );
+    TimeSeriesPropertyStatistics stats = log->getStatistics();
 
     TS_ASSERT_DELTA( stats.minimum, 1.0, 1e-3);
     TS_ASSERT_DELTA( stats.maximum, 11.0, 1e-3);