This commit is contained in:
philipp lang 2023-02-05 23:38:28 +01:00
parent 0ffce6b25e
commit 329da67ad6
1 changed files with 0 additions and 2 deletions

View File

@ -100,9 +100,7 @@ abstract class TestCase extends BaseTestCase
public function stubIo(string $class, callable $mocker): self public function stubIo(string $class, callable $mocker): self
{ {
$mock = Phake::mock($class); $mock = Phake::mock($class);
$mocker($mock); $mocker($mock);
app()->instance($class, $mock); app()->instance($class, $mock);
return $this; return $this;