Skip to content

Commit

Permalink
[Tests] Remove $this occurrences in future static data providers
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed Jan 14, 2023
1 parent 519658d commit c4b9839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/EventListener/ErrorListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function controllerProvider()
}];

yield [function ($exception) {
$this->assertInstanceOf(FlattenException::class, $exception);
static::assertInstanceOf(FlattenException::class, $exception);

return new Response('OK: '.$exception->getMessage());
}];
Expand Down

0 comments on commit c4b9839

Please sign in to comment.