| 1234567891011121314151617181920 |
- <?php
- declare(strict_types=1);
- namespace SixShop\System\Hook;
- use PHPUnit\Framework\Attributes\Test;
- use PHPUnit\Framework\TestCase;
- class GatheringCrontabEventHookTest extends TestCase
- {
- private GatheringCrontabEventHook $gatheringCrontabEventHook;
- protected function setUp(): void
- {
- $this->gatheringCrontabEventHook = app(GatheringCrontabEventHook::class);
- }
- #[Test ] public function onWorkerStart()
- {
- $this->gatheringCrontabEventHook->onWorkerStart();
- }
- }
|