diff --git a/tests/CacheTest.php b/tests/CacheTest.php index bfed3f9..0835f85 100644 --- a/tests/CacheTest.php +++ b/tests/CacheTest.php @@ -43,10 +43,10 @@ public function testCache() $this->assertEquals($this->default, Cache::get($this->key)); Cache::delete($this->key); - $this->assertEquals($this->default, Cache::getOrSet($this->key, function () { + $this->assertEquals($this->default, Cache::get($this->key, function () { return $this->default; })); - $this->assertEquals($this->default, Cache::get($this->key)); + $this->assertEquals(false, Cache::get($this->key)); } public function testGet()