Skip to content

Commit

Permalink
Tests: Actually accept multiple extenders
Browse files Browse the repository at this point in the history
We did pass multiple extenders to this method in the tests for the
`Model` extender - now this actually has the desired effect.
  • Loading branch information
franzliedke committed May 23, 2020
1 parent 4866e7d commit c4f4f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ protected function app()
*/
protected $extenders = [];

protected function extend(ExtenderInterface $extender)
protected function extend(ExtenderInterface ...$extenders)
{
$this->extenders[] = $extender;
$this->extenders = array_merge($this->extenders, $extenders);
}

/**
Expand Down

0 comments on commit c4f4f21

Please sign in to comment.