Beispiel #1
0
 /**
  * Tests Dropbox->fileopsCopy()
  */
 public function testFileopsCopy()
 {
     $response = $this->dropbox->fileopsCopy(BASE_PATH . 'image.png', BASE_PATH . 'copy.png');
     $this->assertArrayHasKey('revision', $response);
     $this->assertArrayHasKey('modified', $response);
     $this->assertArrayHasKey('path', $response);
     // cleanup
     $this->dropbox->fileopsDelete(BASE_PATH . 'copy.png');
 }