Exemplo n.º 1
0
 public function setup()
 {
     // Set up a bunch of conditions to create an acceptable test connection here
     if (class_exists('\\MongoDB\\Client')) {
         static::$canbetested = true;
     }
     parent::setup();
 }
Exemplo n.º 2
0
 public function setup()
 {
     // Set up a bunch of conditions to create an acceptable test connection here
     if (function_exists('mysql_connect')) {
         static::$canbetested = true;
     }
     parent::setup();
 }
Exemplo n.º 3
0
 public function setup()
 {
     // Set up a bunch of conditions to create an acceptable test connection here
     $location = 'http://www.google.com';
     if (file_get_contents($location)) {
         static::$canbetested = true;
         static::$configuration['location'] = 'http://www.google.com';
     }
     parent::setup();
 }
Exemplo n.º 4
0
 public function setup()
 {
     // Set up a bunch of conditions to create an acceptable test connection here
     parent::setup();
 }