diff options
author | Josh Hoyt <josh@janrain.com> | 2006-01-24 23:14:56 +0000 |
---|---|---|
committer | Josh Hoyt <josh@janrain.com> | 2006-01-24 23:14:56 +0000 |
commit | e868ff9c5e5d987389411c7b40bae6856f3be410 (patch) | |
tree | 8eb4e20c9fa29892922fa16437a664409b901a9f /Tests/Auth/OpenID/StoreTest.php | |
parent | d551e9c89cce69abf5782c70616d3b3236968c78 (diff) | |
download | php-openid-e868ff9c5e5d987389411c7b40bae6856f3be410.zip php-openid-e868ff9c5e5d987389411c7b40bae6856f3be410.tar.gz php-openid-e868ff9c5e5d987389411c7b40bae6856f3be410.tar.bz2 |
[project @ Add memstore for testing]
Diffstat (limited to 'Tests/Auth/OpenID/StoreTest.php')
-rw-r--r-- | Tests/Auth/OpenID/StoreTest.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php index 1ab562b..aeacedc 100644 --- a/Tests/Auth/OpenID/StoreTest.php +++ b/Tests/Auth/OpenID/StoreTest.php @@ -299,6 +299,14 @@ explicitly'); "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 '); + $this->_testStore(&$store); + $this->_testNonce(&$store); + } + function test_filestore() { require_once 'Auth/OpenID/Store/FileStore.php'; |