/** * testAuthenticationWithBadCredentials test sets a dummy token store. * We need to set the proper token store object for other test(s). */ public function setUp() { self::$tokenStore = ObjectStorage_TokenStore::factory('file', array('ttl' => 3600, 'path' => '/tmp')); ObjectStorage::setTokenStore(self::$tokenStore); }