From e227688b3c15c6af98cf04261865a062950d3c5f Mon Sep 17 00:00:00 2001 From: glennmichael123 Date: Sun, 14 Mar 2021 12:22:01 +0800 Subject: [PATCH] Apply fixes from StyleCI (#12) --- tests/MediaConverterTest.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/MediaConverterTest.php b/tests/MediaConverterTest.php index 8d92e75..dd85274 100644 --- a/tests/MediaConverterTest.php +++ b/tests/MediaConverterTest.php @@ -12,9 +12,9 @@ }); it('it can successfully create a job', function () { - $response = Meema\MediaConverter\Facades\MediaConvert::createJob($this->settings, []); + $response = Meema\MediaConverter\Facades\MediaConvert::createJob($this->settings, []); - $this->assertEquals($response['@metadata']['statusCode'], 201); + $this->assertEquals($response['@metadata']['statusCode'], 201); }); it('it can successfully get a job', function () { @@ -25,19 +25,19 @@ $this->assertEquals($response['@metadata']['statusCode'], 200); $this->assertEquals($response['Job']['Id'], $jobId); - }); +}); it('it can successfully cancel a job', function () { - $job = Meema\MediaConverter\Facades\MediaConvert::createJob($this->settings, []); + $job = Meema\MediaConverter\Facades\MediaConvert::createJob($this->settings, []); - $response = Meema\MediaConverter\Facades\MediaConvert::cancelJob($job['Job']['Id']); + $response = Meema\MediaConverter\Facades\MediaConvert::cancelJob($job['Job']['Id']); - $this->assertEquals($response['@metadata']['statusCode'], 202); + $this->assertEquals($response['@metadata']['statusCode'], 202); }); it('it can successfully list jobs', function () { - $response = Meema\MediaConverter\Facades\MediaConvert::listJobs([]); + $response = Meema\MediaConverter\Facades\MediaConvert::listJobs([]); - $this->assertEquals($response['@metadata']['statusCode'], 200); - $this->assertTrue(count($response) > 0); + $this->assertEquals($response['@metadata']['statusCode'], 200); + $this->assertTrue(count($response) > 0); });