improving tests
This commit is contained in:
12
tests/Unirest/FileTest.php
Normal file
12
tests/Unirest/FileTest.php
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user