Skip to content

Commit b9b038b

Browse files
committed
Should not be singleton
1 parent 9936d17 commit b9b038b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/framework/tests/Unit/Console/Helpers/ViewPublishGroupTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ protected function setUp(): void
3131
{
3232
TestViewPublishGroup::setProvider(TestViewServiceProvider::class);
3333

34-
app()->singleton(FileFinder::class, TestFileFinder::class);
34+
app()->bind(FileFinder::class, TestFileFinder::class);
3535
}
3636

3737
protected function tearDown(): void
3838
{
3939
TestViewPublishGroup::setProvider(ViewServiceProvider::class);
4040

41-
app()->forgetInstance(FileFinder::class);
41+
app()->bind(FileFinder::class, FileFinder::class);
4242
}
4343

4444
public function testCanCreateGroup()

0 commit comments

Comments
 (0)