Exemplo n.º 1
0
 public static function setUpBeforeClass()
 {
     if (API_TEST) {
         $access = __get_test_access();
         $c = new ConoHa();
         $c->setAccess($access);
         self::$service = $c->getAccountService();
     }
 }
Exemplo n.º 2
0
 public static function setUpBeforeClass()
 {
     $conoha = new ConoHa();
     $conoha->setAccess(__get_test_access());
     $s = $conoha->getAccountService();
     $ns = $s->notifications();
     if (count($ns) == 0) {
         $this->markTestSkipped('告知(Notification)が0件です');
     }
     self::$notification = $ns[0];
 }