Skip to content

Commit

Permalink
Update tests for successful passing
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims committed Dec 7, 2023
1 parent 0dea56b commit 8b65933
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tests/Unit/Bridges/CacheBridgeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,20 @@
expect($cache)
->toBeInstanceOf(CacheItemBridge::class)
->isHit()->toBeTrue()
->get()->toBeNull()
->set(42)
->get()->toBe(42);
->get()->toEqual(42);

$results = $pool->getItems();

expect($results)
->toBeArray()
->toHaveCount(0);

$results = $pool->getItems(['testing' => uniqid()]);
$results = $pool->getItems(['testing']);

expect($results['testing'])
->toBeInstanceOf(CacheItemBridge::class)
->isHit()->toBeTrue()
->get()->not()->toBe(42);
->get()->toEqual(42);

$this->app[\Illuminate\Cache\CacheManager::class]
->getStore()
Expand Down

0 comments on commit 8b65933

Please sign in to comment.