File tree 5 files changed +31
-40
lines changed
5 files changed +31
-40
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ jobs:
10
10
matrix :
11
11
os : [ubuntu-latest, macos-latest]
12
12
php : [8.2]
13
- laravel : [10.*]
13
+ laravel : [10.*, 11.* ]
14
14
stability : [prefer-lowest, prefer-stable]
15
15
include :
16
16
- laravel : 10.*
17
17
testbench : 8.*
18
+ - laravel : 11.*
19
+ testbench : 9.*
18
20
19
21
name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
20
22
Original file line number Diff line number Diff line change 3
3
.php_cs.cache
4
4
.php-cs-fixer.cache
5
5
.phpunit.result.cache
6
+ .phpunit.cache
6
7
build
7
8
composer.lock
8
9
coverage
Original file line number Diff line number Diff line change 19
19
],
20
20
"require" : {
21
21
"php" : " ^8.2" ,
22
- "illuminate/support" : " ^10.0"
22
+ "illuminate/support" : " ^10.0|^11.0 "
23
23
},
24
24
"require-dev" : {
25
25
"laravel/pint" : " ^1.10" ,
26
- "orchestra/testbench" : " ^8.14" ,
27
- "orchestra/workbench" : " ^1.0" ,
28
- "phpunit/phpunit" : " ^9.6 "
26
+ "orchestra/testbench" : " ^8.14|^9.0 " ,
27
+ "orchestra/workbench" : " ^1.0|^8.3 " ,
28
+ "phpunit/phpunit" : " ^10.5 "
29
29
},
30
30
"autoload" : {
31
31
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit backupGlobals = " false "
3
- backupStaticAttributes = " false "
4
- bootstrap = " vendor/autoload.php "
5
- colors = " true "
6
- convertErrorsToExceptions =" true"
7
- convertNoticesToExceptions = " true "
8
- convertWarningsToExceptions = " true "
9
- processIsolation = " false "
10
- stopOnFailure = " false "
11
- verbose = " true "
2
+ <phpunit
3
+ xmlns : xsi = " http://www.w3.org/2001/XMLSchema-instance "
4
+ backupGlobals = " false "
5
+ bootstrap = " vendor/autoload.php "
6
+ colors =" true"
7
+ processIsolation = " false "
8
+ stopOnFailure = " false "
9
+ xsi : noNamespaceSchemaLocation = " https://schema.phpunit.de/10.5/phpunit.xsd "
10
+ cacheDirectory = " .phpunit.cache "
11
+ backupStaticProperties = " false "
12
12
>
13
13
<testsuites >
14
14
<testsuite name =" Turbo Laravel Test Suite" >
15
15
<directory >tests</directory >
16
16
</testsuite >
17
17
</testsuites >
18
- <coverage >
19
- <include >
20
- <directory suffix =" .php" >./src</directory >
21
- </include >
22
- <report >
23
- <html outputDirectory =" build/coverage" />
24
- <text outputFile =" build/coverage.txt" />
25
- <clover outputFile =" build/logs/clover.xml" />
26
- </report >
27
- </coverage >
28
18
<logging >
29
- <junit outputFile =" build/report.junit.xml" />
19
+ <junit outputFile =" build/report.junit.xml" />
30
20
</logging >
31
21
<php >
32
- <env name =" APP_KEY" value =" a2ps3dFoNmyehsm7r0VFZ0Iq64hwBpqI" />
22
+ <env name =" APP_KEY" value =" a2ps3dFoNmyehsm7r0VFZ0Iq64hwBpqI" />
33
23
</php >
24
+ <source >
25
+ <include >
26
+ <directory suffix =" .php" >./src</directory >
27
+ </include >
28
+ </source >
34
29
</phpunit >
Original file line number Diff line number Diff line change @@ -26,22 +26,15 @@ protected function setUp(): void
26
26
TurboStream::fake ();
27
27
}
28
28
29
- public function turboStreamDefaultInsertActions ()
30
- {
31
- return [
32
- ['append ' ],
33
- ['prepend ' ],
34
- ['before ' ],
35
- ['after ' ],
36
- ['update ' ],
37
- ['replace ' ],
38
- ];
39
- }
40
-
41
29
/**
42
30
* @test
43
31
*
44
- * @dataProvider turboStreamDefaultInsertActions
32
+ * @testWith ["append"]
33
+ * ["prepend"]
34
+ * ["before"]
35
+ * ["after"]
36
+ * ["update"]
37
+ * ["replace"]
45
38
*/
46
39
public function can_manually_broadcast_append_streams (string $ action )
47
40
{
You can’t perform that action at this time.
0 commit comments