Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Serban Ghita <[email protected]>
  • Loading branch information
serbanghita committed Dec 9, 2024
1 parent fc20aa0 commit 010bebd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/CacheItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,4 @@ public function testExpiresAfterDoesnNotAcceptNegativeValues(): void

$this->assertNull($item->expiresAfter);
}


}
5 changes: 3 additions & 2 deletions tests/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,12 @@ public function testGetMultiple(): void
$this->cache->set('isMobile', true, 100);
$this->cache->set('isTablet', false, 200);

$this->assertEquals([
$this->assertEquals(
[
'isMobile' => (new CacheItem('isMobile', true))->expiresAfter(100),
'isTablet' => (new CacheItem('isTablet', false))->expiresAfter(200),
'isUnknown' => null,
],
],
$this->cache->getMultiple(['isMobile', 'isTablet', 'isUnknown'])
);
}
Expand Down

0 comments on commit 010bebd

Please sign in to comment.