Skip to content

Commit

Permalink
Revert "temporarily disable test failing on 8.0 and 8.1"
Browse files Browse the repository at this point in the history
This reverts commit 47b0e3d.
  • Loading branch information
alies-dev committed Jan 22, 2023
1 parent a7f68f8 commit c1a02bf
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/acceptance/EloquentModelTypes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ Feature: Eloquent Model types
use Tests\Psalm\LaravelPlugin\Models\User;
"""

# Scenario: Model scope support
# Given I have the following code
# """
#
# function test(): \Illuminate\Database\Eloquent\Collection
# {
# return User::active()->get();
# }
#
# """
# When I run Psalm
# Then I see no errors
Scenario: Model scope support
Given I have the following code
"""
function test(): \Illuminate\Database\Eloquent\Collection
{
return User::active()->get();
}
"""
When I run Psalm
Then I see no errors

Scenario: find or fail support
Given I have the following code
Expand Down

0 comments on commit c1a02bf

Please sign in to comment.