예제 #1
0
파일: Request.php 프로젝트: OpenBX/obx.core
 public function testDownloadUrlToFile()
 {
     $relFilePath = '/upload/obx.core/test/Request/testDownloadUrlToFile.json';
     Request::downloadUrlToFile(self::$_urlJSON . '&test=testDownloadUrlToFile&download=Y', $relFilePath);
     $this->assertFileExists(self::$_docRoot . $relFilePath);
 }