also looking at this
meemalabs/laravel-media-converter
chore(deps): update all non-major dependencies
#29
3 files
+19
-18
| @@ -22,17 +22,17 @@ | ||
| 22 | 22 | } |
| 23 | 23 | ], |
| 24 | 24 | "require": { |
| 25 | "php": "^7.3|^8.0", | |
| 25 | "php": "7.4.33", | |
| 26 | 26 | "ext-json": "*", |
| 27 | "aws/aws-php-sns-message-validator": "^1.6", | |
| 28 | "aws/aws-sdk-php": "^3.173" | |
| 27 | "aws/aws-php-sns-message-validator": "^1.8.0", | |
| 28 | "aws/aws-sdk-php": "^3.261.10" | |
| 29 | 29 | }, |
| 30 | 30 | "require-dev": { |
| 31 | "orchestra/testbench": "^5.0|^6.0", | |
| 32 | "pestphp/pest": "^1.0", | |
| 33 | "pestphp/pest-plugin-laravel": "^1.0", | |
| 34 | "phpunit/phpunit": "^8.0|^9.3", | |
| 35 | "vlucas/phpdotenv": "^4.2|^5.3" | |
| 31 | "orchestra/testbench": "5.20.0", | |
| 32 | "pestphp/pest": "^1.22.5", | |
| 33 | "pestphp/pest-plugin-laravel": "^1.4.0", | |
| 34 | "phpunit/phpunit": "8.5.33", | |
| 35 | "vlucas/phpdotenv": "4.3.0" | |
| 36 | 36 | }, |
| 37 | 37 | "autoload": { |
| 38 | 38 | "psr-4": { |
| @@ -31,6 +31,7 @@ use Illuminate\Support\Str; | ||
| 31 | 31 | * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion wherePercentageCompleted($value) |
| 32 | 32 | * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereStatus($value) |
| 33 | 33 | * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereUpdatedAt($value) |
| 34 | * | |
| 34 | 35 | * @mixin \Eloquent |
| 35 | 36 | */ |
| 36 | 37 | class MediaConversion extends Model |
| @@ -95,17 +95,17 @@ it('can successfully get a jobs', function () { | ||
| 95 | 95 | $this->assertEquals($response['Job']['Id'], $jobId); |
| 96 | 96 | }); |
| 97 | 97 | |
| 98 | it('can successfully cancel a job', function () { | |
| 99 | $job = MediaConvert::createJob($this->jobSettings, []); | |
| 98 | it('can successfully cancel a job', function () { | |
| 99 | $job = MediaConvert::createJob($this->jobSettings, []); | |
| 100 | 100 | |
| 101 | $response = MediaConvert::cancelJob($job['Job']['Id']); | |
| 101 | $response = MediaConvert::cancelJob($job['Job']['Id']); | |
| 102 | 102 | |
| 103 | $this->assertEquals($response['@metadata']['statusCode'], 202); | |
| 104 | }); | |
| 103 | $this->assertEquals($response['@metadata']['statusCode'], 202); | |
| 104 | }); | |
| 105 | 105 | |
| 106 | it('can successfully list jobs', function () { | |
| 107 | $response = MediaConvert::listJobs([]); | |
| 106 | it('can successfully list jobs', function () { | |
| 107 | $response = MediaConvert::listJobs([]); | |
| 108 | 108 | |
| 109 | $this->assertEquals($response['@metadata']['statusCode'], 200); | |
| 110 | $this->assertTrue(count($response) > 0); | |
| 111 | }); | |
| 109 | $this->assertEquals($response['@metadata']['statusCode'], 200); | |
| 110 | $this->assertTrue(count($response) > 0); | |
| 111 | }); | |