a tiny mvc framework for php using php-activerecord
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Skip Memcache-Tests if no memcache available

Benjamin 4f8840bd cae68409

+12
+6
lib/php-activerecord/test/ActiveRecordCacheTest.php
··· 7 7 { 8 8 public function set_up($connection_name=null) 9 9 { 10 + if (!extension_loaded('memcache')) 11 + { 12 + $this->markTestSkipped('The memcache extension is not available'); 13 + return; 14 + } 15 + 10 16 parent::set_up($connection_name); 11 17 ActiveRecord\Config::instance()->set_cache('memcache://localhost'); 12 18 }
+6
lib/php-activerecord/test/CacheTest.php
··· 7 7 { 8 8 public function set_up() 9 9 { 10 + if (!extension_loaded('memcache')) 11 + { 12 + $this->markTestSkipped('The memcache extension is not available'); 13 + return; 14 + } 15 + 10 16 Cache::initialize('memcache://localhost'); 11 17 } 12 18