improving tests

This commit is contained in:
Ahmad Nassri
2015-01-14 18:40:21 -05:00
parent be9bca1d5a
commit 4f156e59fd
4 changed files with 55 additions and 45 deletions

View File

@@ -0,0 +1,12 @@
<?php
use Unirest\File as File;
class UnirestFileTest extends \PHPUnit_Framework_TestCase
{
public function testCURLFile()
{
$file = File::add(UPLOAD_FIXTURE);
$this->assertTrue($file instanceof \CURLFile);
}
}