Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
arukompas authored and github-actions[bot] committed Jun 21, 2023
1 parent 0df508d commit eb454b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/LogIndex/ChunkDefinitionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
expect($cachedMetadata)->toHaveKey('chunk_definitions')
->and($cachedMetadata['chunk_definitions'])->toBeArray()->toHaveCount(1)
->and($cachedMetadata['chunk_definitions'][0])
->toBe($logIndex->getChunkDefinition(0));
->toBe($logIndex->getChunkDefinition(0));

// after adding a new log entry, the cache won't be updated until calling the –>save() method.
$logIndex->addToIndex(3500, now(), 'info');
Expand All @@ -109,7 +109,7 @@
expect($updatedCachedMetadata)->not->toBe($cachedMetadata)
->toHaveKey('current_chunk_definition')
->and($updatedCachedMetadata['current_chunk_definition'])
->toBe($logIndex->getChunkDefinition(1));
->toBe($logIndex->getChunkDefinition(1));
});

it('keeps the chunk definitions after re-instantiating the log index', function () {
Expand Down

0 comments on commit eb454b1

Please sign in to comment.