diff --git a/composer.json b/composer.json index 7dae42f..5720acf 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "aws/aws-sdk-php": "^3.173" }, "require-dev": { - "orchestra/testbench": "^5.0|^6.0", + "orchestra/testbench": "8.0.9", "pestphp/pest": "^1.0", "pestphp/pest-plugin-laravel": "^1.0", "phpunit/phpunit": "^8.0|^9.3", diff --git a/src/Models/MediaConversion.php b/src/Models/MediaConversion.php index 3370271..a6df1a0 100644 --- a/src/Models/MediaConversion.php +++ b/src/Models/MediaConversion.php @@ -31,6 +31,7 @@ * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion wherePercentageCompleted($value) * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereStatus($value) * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereUpdatedAt($value) + * * @mixin \Eloquent */ class MediaConversion extends Model diff --git a/tests/MediaConverterTest.php b/tests/MediaConverterTest.php index aab1a5f..d6e7b3b 100644 --- a/tests/MediaConverterTest.php +++ b/tests/MediaConverterTest.php @@ -95,17 +95,17 @@ $this->assertEquals($response['Job']['Id'], $jobId); }); - it('can successfully cancel a job', function () { - $job = MediaConvert::createJob($this->jobSettings, []); +it('can successfully cancel a job', function () { + $job = MediaConvert::createJob($this->jobSettings, []); - $response = MediaConvert::cancelJob($job['Job']['Id']); + $response = MediaConvert::cancelJob($job['Job']['Id']); - $this->assertEquals($response['@metadata']['statusCode'], 202); - }); + $this->assertEquals($response['@metadata']['statusCode'], 202); +}); - it('can successfully list jobs', function () { - $response = MediaConvert::listJobs([]); +it('can successfully list jobs', function () { + $response = MediaConvert::listJobs([]); - $this->assertEquals($response['@metadata']['statusCode'], 200); - $this->assertTrue(count($response) > 0); - }); + $this->assertEquals($response['@metadata']['statusCode'], 200); + $this->assertTrue(count($response) > 0); +});