Fix tests to check for new exception type.
[shibboleth/cpp-opensaml.git] / samltest / saml2 / binding / SAML2RedirectTest.h
index 5f6707e..5fda95a 100644 (file)
@@ -75,7 +75,7 @@ public:
 
             // Trigger a replay.
             policy.reset();
-            TSM_ASSERT_THROWS("Did not catch the replay.", decoder->decode(relayState,*this,policy), BindingException);
+            TSM_ASSERT_THROWS("Did not catch the replay.", decoder->decode(relayState,*this,policy), SecurityPolicyException);
         }
         catch (XMLToolingException& ex) {
             TS_TRACE(ex.what());