diff --git a/Framework/Algorithms/test/RunCombinationHelperTest.h b/Framework/Algorithms/test/RunCombinationHelperTest.h
index 4e33cb1900ac1b4e61038d380e84297dfcb6beb8..30f1b381d976cb3b287aac2710917eaa39b85ebf 100644
--- a/Framework/Algorithms/test/RunCombinationHelperTest.h
+++ b/Framework/Algorithms/test/RunCombinationHelperTest.h
@@ -47,7 +47,7 @@ public:
 
     TS_ASSERT_THROWS_EQUALS(
         m_testee.unWrapGroups(std::vector<std::string>{"ws1", "ws?"}),
-        const std::exception &e, std::string(e.what()),
+        const std::runtime_error &e, std::string(e.what()),
         "Unable to find workspace type with name 'ws?': data service  search "
         "object ws?");