Laravel Pint fixes

Also remove a file that wasn’t needed
This commit is contained in:
Jonny Barnes 2023-02-04 10:30:49 +00:00
parent bdbcaa55ea
commit f2c8f04c2f
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
4 changed files with 5 additions and 26 deletions

View file

@ -34,6 +34,7 @@ class SaveScreenshot implements ShouldQueue
* Execute the job.
*
* @return void
*
* @throws JsonException
*/
public function handle(): void
@ -54,7 +55,7 @@ class SaveScreenshot implements ShouldQueue
'screen_width' => 1440,
'screen_height' => 900,
'wait_until' => 'networkidle0',
'wait_time' => 100
'wait_time' => 100,
],
]);

View file

@ -134,6 +134,7 @@ class AppServiceProvider extends ServiceProvider
return 1000;
}
));
return new Client(['handler' => $handlerStack]);
});

View file

@ -14,7 +14,6 @@ use GuzzleHttp\Client;
use GuzzleHttp\Exception\ClientException;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
use Ramsey\Uuid\Uuid;
class BookmarkService extends Service
{

View file

@ -1,22 +0,0 @@
<?php
namespace Tests\Feature\Jobs;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
class SaveScreenshotTest extends TestCase
{
/**
* A basic feature test example.
*
* @return void
*/
public function test_example()
{
$response = $this->get('/');
$response->assertStatus(200);
}
}