1
0
mirror of synced 2025-01-17 22:11:41 +03:00

Adding conditional class definition so that people who use the 'memcache' pecl module can run the tests.

This commit is contained in:
pookey 2007-06-12 16:51:20 +00:00
parent 1cfe7fc65a
commit fddaa17afb

View File

@ -41,7 +41,11 @@ class Doctrine_Cache_Memcache_TestCase extends Doctrine_UnitTestCase
class Doctrine_Cache_Memcache_Mock extends Doctrine_Cache_Memcache
{
}
class Memcache
{
if (!class_exists('Memcache'))
{
class Memcache
{
}
}