Skip to content

Commit

Permalink
fix php unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
  • Loading branch information
devlinjunker committed Aug 9, 2023
1 parent 50d0c48 commit 1e33976
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Unit/Service/FolderServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ protected function setUp(): void
{
$this->time = 222;

$timeFactoryBuilder = $this->getMockBuilder(TimeFactory::class)
->disableOriginalConstructor();
$timeFactory = $this->getMockBuilder(TimeFactory::class)
->disableOriginalConstructor()
->getMock();

$mockDateTime = $this->getMockBuilder(\DateTimeImmutable::class)
->disableOriginalConstructor()
Expand Down

0 comments on commit 1e33976

Please sign in to comment.