Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eithed committed Aug 9, 2024
1 parent 2ec3e07 commit 735dd2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.0, 8.1]
laravel: [8.*, 9.*, 10.*]
laravel: [8.*, 9.*, 10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
exclude:
- laravel: 10.*
php: 8.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

Expand Down
4 changes: 2 additions & 2 deletions tests/SerializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ public function it_casts_json_to_an_object()
$this->assertEquals('1641 Riverside Drive', $user->addresses[0]->street);
}

protected function usesGetRoute($app)
protected function usesGetRoute()
{
$app->router->get('/users/{user}', function ($user) {
app()->router->get('/users/{user}', function ($user) {
$user = UserWithAddress::find($user);

return $user;
Expand Down

0 comments on commit 735dd2d

Please sign in to comment.