File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 34
34
- name : Install dependencies
35
35
run : |
36
36
composer config allow-plugins.pestphp/pest-plugin true
37
- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" pestphp/pest --no-interaction --no-update
37
+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
38
38
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
39
39
- name : Execute tests
40
40
run : XDEBUG_MODE=coverage php vendor/bin/pest --coverage --min=100
Original file line number Diff line number Diff line change 14
14
"larastan/larastan" : " ^2.5" ,
15
15
"phpstan/phpstan-mockery" : " ^1.1" ,
16
16
"phpunit/phpunit" : " ^10.1" ,
17
- "orchestra/testbench" : " ^8.0|^9.0"
17
+ "orchestra/testbench" : " ^8.0|^9.0" ,
18
+ "pestphp/pest" : " ^2.0"
18
19
},
19
20
"authors" : [
20
21
{
50
51
"fix-style" : " pint"
51
52
},
52
53
"config" : {
53
- "sort-packages" : true
54
+ "sort-packages" : true ,
55
+ "allow-plugins" : {
56
+ "pestphp/pest-plugin" : true
57
+ }
54
58
},
55
59
"extra" : {
56
60
"laravel" : {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class AvailableMiddleware
11
11
12
12
protected int $ seconds ;
13
13
14
- public function __construct (?string $ connection = null , int $ seconds = 5 )
14
+ public function __construct (?string $ connection = null , int $ seconds = 30 )
15
15
{
16
16
$ this ->connection = $ connection ?? config ('magento.connection ' );
17
17
$ this ->seconds = $ seconds ;
You can’t perform that action at this time.
0 commit comments