diff options
author | tailor <cygnus@janrain.com> | 2007-02-14 22:37:26 +0000 |
---|---|---|
committer | tailor <cygnus@janrain.com> | 2007-02-14 22:37:26 +0000 |
commit | a01e702b8a34ec0b26ff72e2d5954e54b4880dd7 (patch) | |
tree | e31cc1e022422a51a40ffb1a814bf5a9704e0f00 /Tests/Auth/OpenID/StoreTest.php | |
parent | da2ec5feccef42c0004bfde3a286d00336a9b052 (diff) | |
download | php-openid-a01e702b8a34ec0b26ff72e2d5954e54b4880dd7.zip php-openid-a01e702b8a34ec0b26ff72e2d5954e54b4880dd7.tar.gz php-openid-a01e702b8a34ec0b26ff72e2d5954e54b4880dd7.tar.bz2 |
[project @ Removed settings table and auth key code from stores]
Diffstat (limited to 'Tests/Auth/OpenID/StoreTest.php')
-rw-r--r-- | Tests/Auth/OpenID/StoreTest.php | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php index bbbaa66..32f13d3 100644 --- a/Tests/Auth/OpenID/StoreTest.php +++ b/Tests/Auth/OpenID/StoreTest.php @@ -317,24 +317,12 @@ explicitly'); // And using again has the same effect $this->_checkUseNonce($store, $nonce1, false, $url, 3); } - - // Auth key functions - - // There is no key to start with, so generate a new key and - // return it. - $key = $store->getAuthKey(); - - // The second time around should return the same as last time. - $key2 = $store->getAuthKey(); - $this->assertEquals($key, $key2, "Auth keys differ"); - $this->assertEquals(strlen($key), $store->AUTH_KEY_LEN, - "Key length not equals AUTH_KEY_LEN"); } function test_memstore() { require_once 'Tests/Auth/OpenID/MemStore.php'; - $store = new Tests_Auth_OpenID_MemStore('Bogus auth key '); + $store = new Tests_Auth_OpenID_MemStore(); $this->_testStore(&$store); $this->_testNonce(&$store); } |