Skip to content

Commit

Permalink
Fixed dataProvider in tests not being static
Browse files Browse the repository at this point in the history
  • Loading branch information
jsunier committed Nov 20, 2024
1 parent de0a555 commit 9b0c45c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Strategy/UserWithIdStrategyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testIsEnabledWithUserIdentifier(array $parameters, string $usern
$this->assertEquals($expected, $strategy->isEnabled($parameters, $context));
}

public function usernameProvider(): array
public static function usernameProvider(): array
{
return [
[
Expand Down Expand Up @@ -79,7 +79,7 @@ public function testIsEnabledWithId(array $parameters, $id, bool $expected): voi
$this->assertEquals($expected, $strategy->isEnabled($parameters, $context));
}

public function idProvider(): array
public static function idProvider(): array
{
return [
[
Expand Down

0 comments on commit 9b0c45c

Please sign in to comment.