Skip to content

Commit

Permalink
Fix test. I guess.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 10, 2014
1 parent 095b950 commit 95b9b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Cache/CacheRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function testRememberMethodCallsPutAndReturnsDefault()
*/
$repo = $this->getRepository();
$repo->getStore()->shouldReceive('get')->andReturn(null);
$repo->getStore()->shouldReceive('put')->once()->with('foo', 'bar', 10);
$repo->getStore()->shouldReceive('put')->once()->with('foo', 'bar', 9);
$result = $repo->remember('foo', Carbon\Carbon::now()->addMinutes(10), function() { return 'bar'; });
$this->assertEquals('bar', $result);
}
Expand Down

0 comments on commit 95b9b6a

Please sign in to comment.