Skip to content

Commit

Permalink
fixup! perf: Use local caches for avatars and provisioning configs
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Oct 11, 2023
1 parent 5d0a5f7 commit b131fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/Service/Avatar/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function setUp(): void {
$this->cacheFactory = $this->createMock(ICacheFactory::class);
$this->cacheImpl = $this->createMock(ICache::class);
$this->cacheFactory->expects($this->once())
->method('createDistributed')
->method('createLocal')
->with('mail.avatars')
->willReturn($this->cacheImpl);
$this->avatarFactory = $this->createMock(AvatarFactory::class);
Expand Down

0 comments on commit b131fb5

Please sign in to comment.