Skip to content

Commit c1c0f7f

Browse files
authored
Update HitCounterServiceTest.php
1 parent bfd72ae commit c1c0f7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit/HitCounterServiceTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ protected function setUp()
4848
// $this->request = $this->createMock(Request::class);
4949

5050
$dd = Mockery::mock('\coderius\hitCounter\components\deviceDetect\DeviceDetector');
51+
$dd->expects($this->once())->method('getOs');
52+
5153
$hcr = Mockery::mock('\coderius\hitCounter\repositories\HitCounterRepository');
5254
$rp = Mockery::mock('\coderius\hitCounter\entities\HitCounter');
5355
$hcr->shouldReceive('save')->with($rp)->once();

0 commit comments

Comments
 (0)