1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Applied latest styleci changes

This commit is contained in:
Dan Brown
2021-11-01 13:26:02 +00:00
parent ce3f489188
commit a17be959d8
10 changed files with 15 additions and 14 deletions

View File

@ -9,7 +9,6 @@ use BookStack\Uploads\Attachment;
use BookStack\Uploads\AttachmentService;
use Illuminate\Http\UploadedFile;
use Tests\TestCase;
use Tests\TestResponse;
class AttachmentTest extends TestCase
{
@ -56,6 +55,7 @@ class AttachmentTest extends TestCase
$upload = new UploadedFile($filePath, $filename, $mimeType, null, true);
$this->call('POST', '/attachments/upload', ['uploaded_to' => $page->id], [], ['file' => $upload], []);
return $page->attachments()->latest()->firstOrFail();
}
@ -340,5 +340,4 @@ class AttachmentTest extends TestCase
$this->deleteUploads();
}
}