Skip to content

Commit

Permalink
run pint
Browse files Browse the repository at this point in the history
  • Loading branch information
leventcz committed May 19, 2024
1 parent ad55222 commit 7f1d4cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/Repositories/RedisRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
->once()
->with(Mockery::on(function ($callback) use ($pipe) {
$callback($pipe);

return true;
}))
->andReturnNull();
Expand Down Expand Up @@ -106,7 +107,7 @@
->shouldReceive('eval')
->once()
->andReturn(json_encode([
'averageHitPerSecond' => 1, 'averageMissPerSecond' => 2, 'averageWritePerSecond' => 3
'averageHitPerSecond' => 1, 'averageMissPerSecond' => 2, 'averageWritePerSecond' => 3,
]));

expect($this->repository->getCacheSummary())
Expand All @@ -121,8 +122,8 @@
->andReturn(json_encode([
[
'uri' => '', 'method' => '', 'averageRequestPerSecond' => 1, 'averageMemoryUsage' => 1,
'averageDuration' => 1
]
'averageDuration' => 1,
],
]));

expect($this->repository->getTopRoutes())
Expand Down

0 comments on commit 7f1d4cd

Please sign in to comment.