ReviewOS

also looking at this

meemalabs/laravel-media-converter

chore(deps): update dependency orchestra/testbench to v11

#75
Open renovate[bot] wants to merge renovate/orchestra-testbench-11.x into main
11 files +21 -20
composer.jsonmodified+1-1
Changes to composer.json
@@ -28,7 +28,7 @@
2828 "aws/aws-sdk-php": "^3.173"
2929 },
3030 "require-dev": {
31 "orchestra/testbench": "^5.0|^6.0",
31 "orchestra/testbench": "11.0.0",
3232 "pestphp/pest": "^1.0",
3333 "pestphp/pest-plugin-laravel": "^1.0",
3434 "phpunit/phpunit": "^8.0|^9.3",
src/Events/ConversionHasCompleted.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasCompleted.php
@@ -16,7 +16,7 @@ class ConversionHasCompleted
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionHasError.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasError.php
@@ -16,7 +16,7 @@ class ConversionHasError
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionHasInputInformation.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasInputInformation.php
@@ -16,7 +16,7 @@ class ConversionHasInputInformation
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionHasNewWarning.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasNewWarning.php
@@ -16,7 +16,7 @@ class ConversionHasNewWarning
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionHasStatusUpdate.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasStatusUpdate.php
@@ -16,7 +16,7 @@ class ConversionHasStatusUpdate
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionIsProgressing.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionIsProgressing.php
@@ -16,7 +16,7 @@ class ConversionIsProgressing
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionQueueHop.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionQueueHop.php
@@ -16,7 +16,7 @@ class ConversionQueueHop
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Http/Controllers/IncomingWebhookController.phpmodifiedformatting only+2-2
Changes to src/Http/Controllers/IncomingWebhookController.php
@@ -54,8 +54,8 @@ class IncomingWebhookController extends Controller
5454 }
5555
5656 /**
57 * @param $status
58 * @param $message
57 * @param $status
58 * @param $message
5959 *
6060 * @throws \Exception
6161 */
src/Models/MediaConversion.phpmodified+1-0
Changes to src/Models/MediaConversion.php
@@ -31,6 +31,7 @@ use Illuminate\Support\Str;
3131 * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion wherePercentageCompleted($value)
3232 * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereStatus($value)
3333 * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereUpdatedAt($value)
34 *
3435 * @mixin \Eloquent
3536 */
3637class MediaConversion extends Model
tests/MediaConverterTest.phpmodifiedformatting only+10-10
Changes to tests/MediaConverterTest.php
@@ -95,17 +95,17 @@ it('can successfully get a jobs', function () {
9595 $this->assertEquals($response['Job']['Id'], $jobId);
9696});
9797
98 it('can successfully cancel a job', function () {
99 $job = MediaConvert::createJob($this->jobSettings, []);
98it('can successfully cancel a job', function () {
99 $job = MediaConvert::createJob($this->jobSettings, []);
100100
101 $response = MediaConvert::cancelJob($job['Job']['Id']);
101 $response = MediaConvert::cancelJob($job['Job']['Id']);
102102
103 $this->assertEquals($response['@metadata']['statusCode'], 202);
104 });
103 $this->assertEquals($response['@metadata']['statusCode'], 202);
104});
105105
106 it('can successfully list jobs', function () {
107 $response = MediaConvert::listJobs([]);
106it('can successfully list jobs', function () {
107 $response = MediaConvert::listJobs([]);
108108
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});