Skip to content

Commit 7e60ecc

Browse files
authored
Update HitCounterServiceTest.php
1 parent 069a09e commit 7e60ecc

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
@@ -49,6 +49,8 @@ protected function setUp()
4949

5050
$dd = Mockery::mock('\coderius\hitCounter\components\deviceDetect\DeviceDetector');
5151
$hcr = Mockery::mock('coderius\hitCounter\repositories\HitCounterRepository');
52+
->shouldReceive('save')
53+
->once();
5254
$hcr->method('save');
5355

5456
$this->service = new HitCounterService($dd, $hcr);

0 commit comments

Comments
 (0)