Esempio n. 1
0
 /**
  * Tests that a directory can be determined true
  */
 public function testRuleSuccess()
 {
     $val = new Validate();
     $val->rule('rcf_container_exists', 'connection_field', $this->getRcfCreds())->val(array('connection_field' => 'Foo'));
     $this->assertFALSE($val->hasErrors());
 }
 /**
  * Tests that a directory can be determined true
  */
 public function testRuleSuccess()
 {
     $val = new Validate();
     $val->rule('dropbox_connect', 'connection_field', $this->getDropboxCreds())->val(array('connection_field' => 'Foo'));
     $this->assertFALSE($val->hasErrors());
 }
Esempio n. 3
0
 /**
  * Tests that a directory can be determined true
  */
 public function testRuleSuccess()
 {
     $val = new Validate();
     $val->rule('ftp_writable', 'connection_field', $this->getFtpCreds())->val(array('connection_field' => 'Foo'));
     $this->assertFALSE($val->hasErrors());
 }
Esempio n. 4
0
 /**
  * Tests that a directory can be determined true
  */
 public function testRuleSuccess()
 {
     $val = new Validate();
     $val->rule('gcs_bucket_readable', 'connection_field', $this->getGcsCreds())->val(array('connection_field' => 'Foo'));
     $this->assertFALSE($val->hasErrors());
 }