mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Tests: Actually accept multiple extenders
We did pass multiple extenders to this method in the tests for the `Model` extender - now this actually has the desired effect.
This commit is contained in:
@@ -56,9 +56,9 @@ abstract class TestCase extends \PHPUnit\Framework\TestCase
|
||||
*/
|
||||
protected $extenders = [];
|
||||
|
||||
protected function extend(ExtenderInterface $extender)
|
||||
protected function extend(ExtenderInterface ...$extenders)
|
||||
{
|
||||
$this->extenders[] = $extender;
|
||||
$this->extenders = array_merge($this->extenders, $extenders);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user