Skip to content

Commit

Permalink
laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Apr 11, 2024
1 parent cd3dd0d commit 13c2e34
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 5 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
],
"require": {
"php": "^7.3|^8.0",
"illuminate/filesystem": "^8.0|^9.0|^10.0",
"illuminate/http": "^8.0|^9.0|^10.0"
"illuminate/filesystem": "^8.0|^9.0|^10.0|^11.0",
"illuminate/http": "^8.0|^9.0|^10.0|^11.0"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"illuminate/config": "^8.0|^9.0|^10.0",
"illuminate/container": "^8.0|^9.0|^10.0",
"illuminate/config": "^8.0|^9.0|^10.0|^11.0",
"illuminate/container": "^8.0|^9.0|^10.0|^11.0",
"mikey179/vfsstream": "^1.6",
"mockery/mockery": "^1.0",
"nesbot/carbon": "^2.0.0",
Expand Down
5 changes: 5 additions & 0 deletions tests/Drivers/DropzoneTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

class DropzoneTest extends TestCase
{
/**
* @var Dropzone
*/
private $api;

protected function setUp(): void
{
parent::setUp();
Expand Down
7 changes: 6 additions & 1 deletion tests/Drivers/FileAPITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

class FileAPITest extends TestCase
{
/**
* @var FileAPI
*/
private $api;

protected function setUp(): void
{
parent::setUp();
Expand Down Expand Up @@ -43,7 +48,7 @@ public function testReceiveChunkedFile(): void

$this->request->headers->replace([
'content-disposition' => 'attachment; filename="'.$this->uploadedFile->getClientOriginalName().'"',
'content-range' => "bytes {$start}-{$end}/${total}",
'content-range' => "bytes {$start}-{$end}/{$total}",
'content-type' => $this->uploadedFile->getMimeType(),
'content-length' => $chunkSize,
]);
Expand Down
5 changes: 5 additions & 0 deletions tests/Drivers/FilePondTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@

class FilePondTest extends TestCase
{
/**
* @var FilePond
*/
private $api;

protected function setUp(): void
{
parent::setUp();
Expand Down
5 changes: 5 additions & 0 deletions tests/Drivers/FineUploaderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

class FineUploaderTest extends TestCase
{
/**
* @var FineUploader
*/
private $api;

protected function setUp(): void
{
parent::setUp();
Expand Down
5 changes: 5 additions & 0 deletions tests/Drivers/PluploadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@

class PluploadTest extends TestCase
{
/**
* @var Plupload
*/
private $api;

protected function setUp(): void
{
parent::setUp();
Expand Down

0 comments on commit 13c2e34

Please sign in to comment.