Skip to content

Commit be745f7

Browse files
tikhomirovgithub-actions[bot]
authored andcommitted
style: apply Laravel Pint auto-format
1 parent 5917d88 commit be745f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/Feature/CliIntegrationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
$worker->runNextJob('default');
196196

197197
$logs = WPQueue::logs()->recent(10);
198-
$failed = array_filter($logs, fn($log) => $log['status'] === 'failed');
198+
$failed = array_filter($logs, fn ($log) => $log['status'] === 'failed');
199199

200200
expect($failed)->not->toBeEmpty();
201201
});
@@ -210,7 +210,7 @@
210210

211211
// Проверяем что задача провалилась
212212
$logs = WPQueue::logs()->recent(10);
213-
$failed = array_filter($logs, fn($log) => $log['status'] === 'failed');
213+
$failed = array_filter($logs, fn ($log) => $log['status'] === 'failed');
214214

215215
expect($failed)->not->toBeEmpty();
216216

@@ -221,7 +221,7 @@
221221

222222
// Проверяем что теперь 2 проваленные задачи
223223
$logs = WPQueue::logs()->recent(10);
224-
$failed = array_filter($logs, fn($log) => $log['status'] === 'failed');
224+
$failed = array_filter($logs, fn ($log) => $log['status'] === 'failed');
225225

226226
expect(count($failed))->toBe(2);
227227
});

0 commit comments

Comments
 (0)