Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed Nov 30, 2024
1 parent 6082a7e commit fdd1f55
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,21 @@ jobs:
- "8.3"
- "8.4"
laravel:
- 9.*
- 10.*
- 11.*
prefer:
- "prefer-lowest"
- "prefer-stable"
include:
- laravel: 9.*
testbench: 7.*
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
exclude:
- php: "8.1"
laravel: 11.*
- php: "8.4"
laravel: 10.*

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} --${{ matrix.prefer }}

Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
}
],
"require": {
"illuminate/database": "^9.35|^10.5|^11",
"illuminate/support": "^9.35|^10.5|^11"
"illuminate/database": "^10.5|^11.33",
"illuminate/support": "^10.5|^11.33"
},
"autoload": {
"psr-4": {
Expand All @@ -41,8 +41,8 @@
"laravel/legacy-factories": "^1.4",
"livewire/livewire": "dev-main",
"mockery/mockery": "^1.6",
"orchestra/testbench": "^7.23|^8.1.1|^9",
"phpunit/phpunit": "^9.5.25|^10"
"orchestra/testbench": "^8.1.1|^9",
"phpunit/phpunit": "^9.5.25|^10|^11"
},
"config": {
"sort-packages": true
Expand Down
2 changes: 1 addition & 1 deletion tests/LivewireTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PostComponent extends Component
{
public Post $post;

public static function getName()
public function getName()
{
return 'post';
}
Expand Down

0 comments on commit fdd1f55

Please sign in to comment.