Skip to content

Commit 13ebfec

Browse files
alexmanaseactions-user
authored andcommitted
Fix styling
1 parent b91c818 commit 13ebfec

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

tests/CallWebhookJobTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
use Illuminate\Queue\Events\JobFailed;
77
use Illuminate\Support\Facades\Event;
88
use Mockery\MockInterface;
9+
use function Pest\Laravel\artisan;
10+
use function Pest\Laravel\mock;
911
use Spatie\TestTime\TestTime;
1012
use Spatie\WebhookServer\BackoffStrategy\ExponentialBackoffStrategy;
1113
use Spatie\WebhookServer\Events\FinalWebhookCallFailedEvent;
1214
use Spatie\WebhookServer\Events\WebhookCallFailedEvent;
15+
1316
use Spatie\WebhookServer\Tests\TestClasses\TestClient;
1417
use Spatie\WebhookServer\WebhookCall;
1518

16-
use function Pest\Laravel\artisan;
17-
use function Pest\Laravel\mock;
18-
1919
function baseWebhook(): WebhookCall
2020
{
2121
return WebhookCall::create()

tests/WebhookTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?php
22

33
use Illuminate\Support\Facades\Queue;
4+
use function PHPUnit\Framework\assertTrue;
45
use Spatie\WebhookServer\CallWebhookJob;
56
use Spatie\WebhookServer\Exceptions\CouldNotCallWebhook;
67
use Spatie\WebhookServer\Exceptions\InvalidBackoffStrategy;
78
use Spatie\WebhookServer\Exceptions\InvalidSigner;
89
use Spatie\WebhookServer\Exceptions\InvalidWebhookJob;
9-
use Spatie\WebhookServer\WebhookCall;
1010

11-
use function PHPUnit\Framework\assertTrue;
11+
use Spatie\WebhookServer\WebhookCall;
1212

1313
beforeEach(function () {
1414
Queue::fake();
@@ -110,8 +110,7 @@
110110
})->throws(InvalidSigner::class);
111111

112112
it('will throw an exception when using an invalid webhook job', function () {
113-
$invalidJob = new class
114-
{
113+
$invalidJob = new class {
115114
};
116115

117116
WebhookCall::create()->useJob($invalidJob::class);

0 commit comments

Comments
 (0)