public function testDeleteFile() { $file = $this->createTestFile(); $resFile = $this->restApi->insertFile($file); $response = $this->restApi->getFile($resFile['id']); $file->setGoogleId($response['id']); $response = $this->restApi->deleteFile($file); $this->assertEquals(204, $response->getStatusCode()); }
public function getFile($fileGoogleId) { return $this->googleDriveApi->getFile($fileGoogleId); }