Skip to content

Commit

Permalink
Return again Factory::restart()
Browse files Browse the repository at this point in the history
  • Loading branch information
edersoares committed Mar 28, 2023
1 parent fb426c1 commit 3eacdd4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/FactoryTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ abstract class FactoryTestCase extends TestCase
{
use TestConcerns;

protected function factory(): Factory
protected function factory(): void
{
Factory::restart();

$factory = new Factory();
$io = new BufferIO();

$factory->createComposer(io: $io, cwd: $this->path() . $this->fixture());

$this->output = $io->getOutput();

return $factory;
}
}

0 comments on commit 3eacdd4

Please sign in to comment.