Skip to content

Commit 1007aff

Browse files
tikhomirovgithub-actions[bot]
authored andcommitted
style: apply Laravel Pint auto-format
1 parent 8d19399 commit 1007aff

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
@@ -196,7 +196,7 @@
196196
$worker->runNextJob('default');
197197

198198
$logs = WPQueue::logs()->recent(10);
199-
$failed = array_filter($logs, fn($log) => $log['status'] === 'failed');
199+
$failed = array_filter($logs, fn ($log) => $log['status'] === 'failed');
200200

201201
expect($failed)->not->toBeEmpty();
202202
});
@@ -211,7 +211,7 @@
211211

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

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

@@ -222,7 +222,7 @@
222222

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

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

0 commit comments

Comments
 (0)