mirror of
https://github.com/Intervention/image.git
synced 2025-08-11 16:34:00 +02:00
Bumps the PHPUnit version to support PHP 7.4 and fixes test
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
"guzzlehttp/psr7": "~1.1"
|
"guzzlehttp/psr7": "~1.1"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^4.8 || ^5.7",
|
"phpunit/phpunit": "^4.8 || ^5.7 || ^7.5.15",
|
||||||
"mockery/mockery": "~0.9.2"
|
"mockery/mockery": "~0.9.2"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
|
@@ -19,7 +19,7 @@ class FileTest extends TestCase
|
|||||||
public function testBasePath()
|
public function testBasePath()
|
||||||
{
|
{
|
||||||
$file = new File;
|
$file = new File;
|
||||||
$this->assertNull(null, $file->basePath());
|
$this->assertNull(null, $file->basePath() ?: '');
|
||||||
|
|
||||||
$file->dirname = 'foo';
|
$file->dirname = 'foo';
|
||||||
$file->basename = 'bar';
|
$file->basename = 'bar';
|
||||||
|
Reference in New Issue
Block a user