Adding conditional class definition so that people who use the 'memcache' pecl module can run the tests.
This commit is contained in:
parent
1cfe7fc65a
commit
fddaa17afb
@ -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
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user