Skip to content

Commit 78c8f26

Browse files
committed
test: fix broken tests by extending laravel base test case instead of phpunit base test case
1 parent d489dd1 commit 78c8f26

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

‎tests/LfmUploadValidatorTest.php‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
use Mockery as m;
4-
use PHPUnit\Framework\TestCase;
4+
use Illuminate\Foundation\Testing\TestCase;
55
use Symfony\Component\HttpFoundation\File\UploadedFile;
66
use UniSharp\LaravelFilemanager\Exceptions\DuplicateFileNameException;
77
use UniSharp\LaravelFilemanager\Exceptions\EmptyFileException;
@@ -13,11 +13,6 @@
1313
use UniSharp\LaravelFilemanager\LfmPath;
1414
use UniSharp\LaravelFilemanager\LfmUploadValidator;
1515

16-
function trans()
17-
{
18-
// leave empty
19-
}
20-
2116
class LfmUploadValidatorTest extends TestCase
2217
{
2318
public function testPassesSizeLowerThanIniMaximum()

0 commit comments

Comments
 (0)