Added orphan visits count to visits stats endpoint

This commit is contained in:
Alejandro Celaya
2021-02-08 22:44:58 +01:00
parent f7215fc2c5
commit 5278d7668c
8 changed files with 29 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ class GlobalVisitsActionTest extends TestCase
public function statsAreReturnedFromHelper(): void
{
$apiKey = new ApiKey();
$stats = new VisitsStats(5);
$stats = new VisitsStats(5, 3);
$getStats = $this->helper->getVisitsStats($apiKey)->willReturn($stats);
/** @var JsonResponse $resp */