Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
Fixes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeymakinen committed Mar 1, 2017
1 parent 0d7416f commit 7f12b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7f12b42

Please sign in to comment.