Beispiel #1
0
 /**
  * Tests Dropbox->fileopsMove()
  */
 public function testFileopsMove()
 {
     $this->dropbox->fileopsCreateFolder(BASE_PATH . 'will_be_moved');
     $response = $this->dropbox->fileopsMove(BASE_PATH . 'will_be_moved', BASE_PATH . 'moved');
     $this->assertArrayHasKey('hash', $response);
     $this->assertArrayHasKey('revision', $response);
     $this->assertArrayHasKey('modified', $response);
     $this->assertArrayHasKey('path', $response);
     // cleanup
     $this->dropbox->fileopsDelete(BASE_PATH . 'moved');
 }