From 8068d202e0ab613c8c546126bbde7dd939baaff9 Mon Sep 17 00:00:00 2001 From: zds <49744633+zds-s@users.noreply.github.com> Date: Thu, 30 May 2024 16:17:16 +0800 Subject: [PATCH] Release 2.0-stable (#88) --------- Co-authored-by: StyleCI Co-authored-by: tinkleCat <31616271+tinkleCat@users.noreply.github.com> --- tests/Cases/Listener/CrontabProcessStarredListenerTest.php | 2 ++ tests/Cases/ScheduleTest.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/Cases/Listener/CrontabProcessStarredListenerTest.php b/tests/Cases/Listener/CrontabProcessStarredListenerTest.php index efc9d3a..076e475 100644 --- a/tests/Cases/Listener/CrontabProcessStarredListenerTest.php +++ b/tests/Cases/Listener/CrontabProcessStarredListenerTest.php @@ -17,12 +17,14 @@ use Hyperf\Process\ProcessManager; use Hyperf\Testing\Concerns\RunTestsInCoroutine; use Mine\Crontab\Listener\CrontabProcessStarredListener; +use PHPUnit\Framework\Attributes\RequiresPhpExtension; use PHPUnit\Framework\TestCase; /** * @internal * @coversNothing */ +#[RequiresPhpExtension('swoole', '< 6.0')] class CrontabProcessStarredListenerTest extends TestCase { use RunTestsInCoroutine; diff --git a/tests/Cases/ScheduleTest.php b/tests/Cases/ScheduleTest.php index 5e520e3..eab3891 100644 --- a/tests/Cases/ScheduleTest.php +++ b/tests/Cases/ScheduleTest.php @@ -21,12 +21,14 @@ use Hyperf\Database\Query\Builder; use Hyperf\Testing\Concerns\RunTestsInCoroutine; use Mine\Crontab\Schedule; +use PHPUnit\Framework\Attributes\RequiresPhpExtension; use PHPUnit\Framework\TestCase; /** * @internal * @coversNothing */ +#[RequiresPhpExtension('swoole', '< 6.0')] class ScheduleTest extends TestCase { use RunTestsInCoroutine;