diff options
Diffstat (limited to 'Tests/Auth/OpenID/Negotiation.php')
-rw-r--r-- | Tests/Auth/OpenID/Negotiation.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Tests/Auth/OpenID/Negotiation.php b/Tests/Auth/OpenID/Negotiation.php index a7f4303..c5ad873 100644 --- a/Tests/Auth/OpenID/Negotiation.php +++ b/Tests/Auth/OpenID/Negotiation.php @@ -117,9 +117,7 @@ class TestOpenID2SessionNegotiation extends PHPUnit_TestCase { */ function testNotAllowed() { - $allowed_types = array( - array('assoc_bogus', 'session_bogus') - ); + $allowed_types = array(); $negotiator = new Auth_OpenID_SessionNegotiator($allowed_types); $this->consumer->negotiator = $negotiator; @@ -252,9 +250,7 @@ class TestOpenID1SessionNegotiation extends PHPUnit_TestCase { function testNotAllowed() { - $allowed_types = array( - array('assoc_bogus', 'session_bogus') - ); + $allowed_types = array(); $negotiator = new Auth_OpenID_SessionNegotiator($allowed_types); $this->consumer->negotiator = $negotiator; @@ -305,8 +301,8 @@ class TestNegotiatorBehaviors extends PHPUnit_TestCase { function setUp() { $this->allowed_types = array( - array('assoc1', 'session1'), - array('assoc2', 'session2') + array('HMAC-SHA1', 'no-encryption'), + array('HMAC-SHA256', 'no-encryption') ); $this->n = new Auth_OpenID_SessionNegotiator($this->allowed_types); |