File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 68
68
timeout_minutes : 5
69
69
max_attempts : 5
70
70
command : composer require guzzlehttp/psr7:^2.4 --no-interaction --no-update
71
- if : matrix.php >= 8.2
72
71
73
72
- name : Install dependencies
74
73
uses : nick-fields/retry@v2
@@ -131,7 +130,6 @@ jobs:
131
130
timeout_minutes : 5
132
131
max_attempts : 5
133
132
command : composer require guzzlehttp/psr7:~2.4 --no-interaction --no-update
134
- if : matrix.php >= 8.2
135
133
136
134
- name : Install dependencies
137
135
uses : nick-fields/retry@v2
Original file line number Diff line number Diff line change 11
11
use Illuminate \Support \Carbon ;
12
12
use Illuminate \Support \Facades \Route ;
13
13
use Orchestra \Testbench \TestCase ;
14
+ use PHPUnit \Framework \Attributes \DataProvider ;
14
15
use Throwable ;
15
16
16
17
class ThrottleRequestsTest extends TestCase
@@ -127,7 +128,7 @@ public static function perMinuteThrottlingDataSet()
127
128
];
128
129
}
129
130
130
- /** @dataProvider perMinuteThrottlingDataSet */
131
+ #[DataProvider( ' perMinuteThrottlingDataSet ' )]
131
132
public function testItCanThrottlePerMinute (string $ middleware )
132
133
{
133
134
$ rateLimiter = Container::getInstance ()->make (RateLimiter::class);
You can’t perform that action at this time.
0 commit comments