Skip to content

Commit 8137e2d

Browse files
authored
Update carbon (#286)
* add nesbot/carbon to composer, adapt to new version * revert now() adaption * cs fix * fix cs * fix test * Apply php-cs-fixer changes * fix test * Apply php-cs-fixer changes * fix test * fix test * fix test --------- Co-authored-by: alexz707 <[email protected]>
1 parent f5e8f4b commit 8137e2d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Unit/Service/SearchIndex/CachedSearchIndexMappingServiceTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ public function _before(): void
3535
return [$indexName . 'df' . uniqid('', true)];
3636
});
3737

38+
$cacheResolver = new RuntimeCacheResolver();
39+
$cacheResolver->clear();
40+
3841
$this->cachedSearchIndexMappingService = new CachedSearchIndexMappingService(
39-
new RuntimeCacheResolver(),
42+
$cacheResolver,
4043
$searchIndexServiceMock
4144
);
4245
}

0 commit comments

Comments
 (0)