Skip to content

Commit

Permalink
test: fix broken tests by extending laravel base test case instead of…
Browse files Browse the repository at this point in the history
… phpunit base test case
  • Loading branch information
streamtw committed Aug 9, 2024
1 parent d489dd1 commit 78c8f26
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/LfmUploadValidatorTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Foundation\Testing\TestCase;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use UniSharp\LaravelFilemanager\Exceptions\DuplicateFileNameException;
use UniSharp\LaravelFilemanager\Exceptions\EmptyFileException;
Expand All @@ -13,11 +13,6 @@
use UniSharp\LaravelFilemanager\LfmPath;
use UniSharp\LaravelFilemanager\LfmUploadValidator;

function trans()
{
// leave empty
}

class LfmUploadValidatorTest extends TestCase
{
public function testPassesSizeLowerThanIniMaximum()
Expand Down

0 comments on commit 78c8f26

Please sign in to comment.