summaryrefslogtreecommitdiffstats
path: root/Tests/Auth/OpenID/StoreTest.php
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2007-06-19 16:42:34 +0000
committertailor <cygnus@janrain.com>2007-06-19 16:42:34 +0000
commit3a278d6c217fa14db0e000e10d089078acc24784 (patch)
treed45aeea939045d232bd43a739c1d5e3c5b661a9d /Tests/Auth/OpenID/StoreTest.php
parente19d4dd7ae18418f084bd9f76d1ce76730696491 (diff)
downloadphp-openid-3a278d6c217fa14db0e000e10d089078acc24784.zip
php-openid-3a278d6c217fa14db0e000e10d089078acc24784.tar.gz
php-openid-3a278d6c217fa14db0e000e10d089078acc24784.tar.bz2
[project @ Fix query-building for Auth_OpenID_SQLStore::tableExists (thanks markus@silverstripe.com)]
Diffstat (limited to 'Tests/Auth/OpenID/StoreTest.php')
-rw-r--r--Tests/Auth/OpenID/StoreTest.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Auth/OpenID/StoreTest.php b/Tests/Auth/OpenID/StoreTest.php
index a369670..c841a2e 100644
--- a/Tests/Auth/OpenID/StoreTest.php
+++ b/Tests/Auth/OpenID/StoreTest.php
@@ -418,7 +418,15 @@ explicitly');
}
$store =& new Auth_OpenID_PostgreSQLStore($db);
+
+ $this->assertFalse($store->tableExists($store->nonces_table_name));
+ $this->assertFalse($store->tableExists($store->associations_table_name));
+
$store->createTables();
+
+ $this->assertTrue($store->tableExists($store->nonces_table_name));
+ $this->assertTrue($store->tableExists($store->associations_table_name));
+
$this->_testStore($store);
$this->_testNonce($store);