Commit fddaa17a authored by pookey's avatar pookey

Adding conditional class definition so that people who use the 'memcache' pecl...

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

parent 1cfe7fc6
......@@ -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
{
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment