diff options
Diffstat (limited to 'Tests/Auth/OpenID/AssociationResponse.php')
-rw-r--r-- | Tests/Auth/OpenID/AssociationResponse.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/Auth/OpenID/AssociationResponse.php b/Tests/Auth/OpenID/AssociationResponse.php index 714b27c..285577f 100644 --- a/Tests/Auth/OpenID/AssociationResponse.php +++ b/Tests/Auth/OpenID/AssociationResponse.php @@ -49,15 +49,14 @@ class Tests_Auth_OpenID_AssociationResponse extends PHPUnit_TestCase { function failUnlessProtocolError($thing) { - $this->assertTrue(is_a($thing, 'Auth_OpenID_FailureResponse')); + $this->assertTrue(Auth_OpenID::isFailure($thing)); } function _run($keys) { $msg = mkAssocResponse($keys); $dumb = null; - $this->assertTrue(is_a($this->consumer->_extractAssociation($msg, $dumb), - 'Auth_OpenID_FailureResponse')); + $this->assertTrue(Auth_OpenID::isFailure($this->consumer->_extractAssociation($msg, $dumb))); } } |